Can I keep an inline comment like this in my .scss
file
thead {
display: table-header-group; // h5bp.com/t
}
I don't want this comment in my CSS output.
See Question&Answers more detail:osCan I keep an inline comment like this in my .scss
file
thead {
display: table-header-group; // h5bp.com/t
}
I don't want this comment in my CSS output.
See Question&Answers more detail:osThere are two different types of comments to consider in SASS.
//
will be removed by the .scss pre-procesor, and won't appear in your .css file. Multiline comments */
are valid CSS, and will be preserved* between the translation from .scss to your .css file.
!
. See http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#comments. It sounds like inline comments //
are what you're looking for.