From the course: Sass Essential Training
Unlock the full course today
Join today to access over 24,100 courses taught by industry experts.
Comments - Sass Tutorial
From the course: Sass Essential Training
Comments
- It's pretty popular to add comments to let people know what's going on with your code. Now, SASS comments have a few interesting features. Here's some samples of what you can do with SASS comment. First, you can use any CSS comments that you want. So, either the regular CSS comments that begin with a slash and a star, and end with a star and a slash can be used, and even the multiline version. These are going to be published to the CSS file, unless you have configured SASS to output in compressed mode. There are some comments that will not output, regardless of what mode you have set things too. And that is JavaScript style comments, which begin with two slashes. This is great because you can write some comments into your code, that nobody will ever see, when they're converted into the final CSS. You can also create some sort of comments that will always publish, regardless of what your settings are. You do that byâ¦
Contents
-
-
-
-
-
(Locked)
Interpolation2m 22s
-
(Locked)
Placeholder selectors1m 29s
-
(Locked)
Comments1m 52s
-
(Locked)
Using lists9m 21s
-
(Locked)
Each2m 47s
-
(Locked)
For2m 1s
-
(Locked)
Maps5m 1s
-
(Locked)
Operators and conditionals5m 57s
-
(Locked)
Color functions4m 27s
-
(Locked)
Challenge: Badges1m 36s
-
(Locked)
Solution: Badges8m 43s
-
(Locked)
-