Specify lowercase or uppercase for at-rules names.
指定 at 规则名称的大小写。
@media (min-width: 10px) {}
/** ↑
* These at-rule names */
Only lowercase at-rule names are valid in SCSS.
在 SCSS 只有小写的 at 规则名称是有效的。
string: "lower"|"upper"
"lower"
The following patterns are considered warnings:
以下模式被认为是个警告:
@Charset 'UTF-8';
@cHarSeT 'UTF-8';
@CHARSET 'UTF-8';
@Media (min-width: 50em) {}
@mEdIa (min-width: 50em) {}
@MEDIA (min-width: 50em) {}
The following patterns are not considered warnings:
以下模式正常:
@charset 'UTF-8';
@media (min-width: 50em) {}
"upper"
The following patterns are considered warnings:
以下模式被认为是个警告:
@Charset 'UTF-8';
@cHarSeT 'UTF-8';
@charset 'UTF-8';
@Media (min-width: 50em) {}
@mEdIa (min-width: 50em) {}
@media (min-width: 50em) {}
The following patterns are not considered warnings:
以下模式正常:
@CHARSET 'UTF-8';
@MEDIA (min-width: 50em) {}