Skip to content

Commit 949a2e4

Browse files
authored
Enhance comments for selector specificity in reset.css
Added comments for forgiving selector list and specificity.
1 parent 1e7f9de commit 949a2e4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

assets/css/reset.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
margin: 0;
1313
}
1414

15-
/* Specificity == 0 */
15+
/* https://drafts.csswg.org/selectors-4/#typedef-forgiving-selector-list
16+
- Forgiving selector list
17+
- Specificity == 0 */
1618
:where(
1719
img,
1820
picture,
@@ -23,7 +25,9 @@
2325
max-inline-size: 100%;
2426
}
2527

26-
/* Specificity == 0 */
28+
/* https://drafts.csswg.org/selectors-4/#typedef-forgiving-selector-list
29+
- Forgiving selector list
30+
- Specificity == 0 */
2731
:where(
2832
button,
2933
input,

0 commit comments

Comments
 (0)