Wrap CSS reset in a cascade layer
This commit is contained in:
parent
1f103f35ca
commit
5f45470875
|
@ -54,6 +54,7 @@
|
||||||
/* CSS Reset */
|
/* CSS Reset */
|
||||||
/* ------------------- */
|
/* ------------------- */
|
||||||
|
|
||||||
|
@layer reset {
|
||||||
/* Box sizing rules */
|
/* Box sizing rules */
|
||||||
*,
|
*,
|
||||||
*::before,
|
*::before,
|
||||||
|
@ -105,3 +106,4 @@ textarea:not([rows]) { min-height: 10em; }
|
||||||
|
|
||||||
/* Anything that has been anchored to should have extra scroll margin */
|
/* Anything that has been anchored to should have extra scroll margin */
|
||||||
:target { scroll-margin-block: 5ex; }
|
:target { scroll-margin-block: 5ex; }
|
||||||
|
}
|
Loading…
Reference in New Issue