Use SASS Mixins to Generate Class Names

If you need to generate a bunch of rules for n number of numbered classes, you can do it dynamically by using mixin arguments to generate class names

Here’s a neat little trick I used recently. I was working with a simple single page form and each page of the form was hidden; I wanted to be able to un-hide the form pages based on a parent class that included the page number.

2 minutes to read

Debugging SASS with Chrome Dev Tools

Disclaimer, I got this to work but these are notes from my first attempt so some of this may be overkill. A lot of the information I found was over a year old so I’m probably using some work-arounds that are no longer necessary. I’ll be back to make corrections as needed. If you notice anything wrong please let me know in the comments. For the most official info check out Working with CSS Preprocessors on the Google developer pages.
5 minutes to read