Skip to content

Commit a7b5790

Browse files
committed
add box sizing below all unset and or revert styles
put at the very end so it doesnt get unintentionally undone by all the unset and revert styles
1 parent df87a9f commit a7b5790

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

css/reset.css

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,6 @@
1616
display: revert;
1717
}
1818

19-
/* Preferred box-sizing value */
20-
*,
21-
*::before,
22-
*::after {
23-
box-sizing: border-box;
24-
}
25-
2619
/* Reapply the pointer cursor for anchor tags */
2720
a, button {
2821
cursor: revert;
@@ -100,4 +93,13 @@ meter {
10093
/* Revert Modal native behavior */
10194
:where(dialog:modal) {
10295
all: revert;
96+
}
97+
98+
99+
100+
/* Preferred box-sizing value */
101+
*,
102+
*::before,
103+
*::after {
104+
box-sizing: border-box;
103105
}

0 commit comments

Comments
 (0)