diff --git a/en/_syntax.md b/en/_syntax.md index 39d871c0..bebb4b93 100644 --- a/en/_syntax.md +++ b/en/_syntax.md @@ -41,6 +41,10 @@ That being said, languages that do not require strings to be quoted are definite {% include snippets/syntax/03/index.html %} +
+

As per the CSS specifications, the @charset directive should be declared in double quotes to be considered valid. However, Sass takes care of this when compiling to CSS so the authoring has no impact on the final result. You can safely stick to single quotes, even for @charset.

+
+ ### Strings as CSS values Specific CSS values such as `initial` or `sans-serif` require not to be quoted. Indeed, the declaration `font-family: 'sans-serif'` will silently fail because CSS is expecting an identifier, not a quoted string. Because of this, we do not quote those values.