Shorthand Sass Mixins
I love writing mixins in Sass or Scss, or whatever version you dig. What about a shorthand version!
Comments in Sass
Sass supports traditional CSS multiline comments, but also single-line comments.
Referencing the Parent Selector in Sass
How to reference the parent selector in your Sass rules and use things like &:hover.
Nesting Selectors in Sass
Sass allows you to nest your selectors and save time writing your CSS rules. See how it's done.
Sass maps are very useful to group similar items. Here's a quick snippet on how to use them.
Snippet on how to use lists in Sass to power-up your variables and make collections of values easy to work with.
Sass @each Loops
Loop through maps and lists in Sass. Here's a quick snippet that shows you how.
If/Else Statements in Sass
If/Else for your CSS? Yes, it's possible using a preprocessor! Here's a quick snippet to implement if/else logic for your styles with Sass.
Snippet for Sass variables.
Sass Mixin Syntax
Snippet with the Sass Mixin Syntax to help you create reusable blocks of styles.
— Sorry to interrupt this program! 📺
Are you interested in learning Vue.js? If so, I highly recommend you try The Vue.js Master Class course by Vue School. Learning from a premium resource like that is a serious investment in yourself.
Plus, this is an affiliate link, so if you purchase the course you help Alligator.io continue to exist at the same time! 🙏