Closed aaronamm closed 3 years ago
IMHO, the existing document in dash prefixes section makes me think if we can use an underscore to prefix a variant.
Especially "A CSS class can only start with a letter, or -." which makes me think "A variant class name can only start with a letter or -".
Actually, this section is about explaining a reason why we use a dash to prefix a variant. Therefore, I have made this PR to clarify it.
FYI, this confusion made me create this issue even though we know exactly that a variant must start with a dash -.
-
Thanks.
Very good call, thanks for the edit!
IMHO, the existing document in dash prefixes section makes me think if we can use an underscore to prefix a variant.
Especially "A CSS class can only start with a letter, or -." which makes me think "A variant class name can only start with a letter or -".
Actually, this section is about explaining a reason why we use a dash to prefix a variant. Therefore, I have made this PR to clarify it.
FYI, this confusion made me create this issue even though we know exactly that a variant must start with a dash
-
.Thanks.