mirror of
https://github.com/zhigang1992/sass.git
synced 2026-04-29 09:45:35 +08:00
@@ -578,8 +578,20 @@ is compiled to:
|
||||
a {
|
||||
color: green; }
|
||||
|
||||
When the first letter of a comment is `!`, the comment will be interpolated
|
||||
and always rendered into css output even in compressed output modes. This is useful for adding Copyright notices to your generated CSS.
|
||||
When the first letter of a multiline comment is `!`, the comment will
|
||||
always rendered into css output even in compressed output modes. This
|
||||
is useful for adding Copyright notices to your generated CSS.
|
||||
|
||||
Since multiline comments become part of the resulting CSS,
|
||||
interpolation within them is resolved. For example:
|
||||
|
||||
$version: "1.2.3";
|
||||
/* This CSS is generated by My Snazzy Framework version #{$version}. */
|
||||
|
||||
is compiled to:
|
||||
|
||||
$version: "1.2.3";
|
||||
/* This CSS is generated by My Snazzy Framework version 1.2.3. */
|
||||
|
||||
## SassScript {#sassscript}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user