mirror of
https://github.com/helenclx/leilukin-site.git
synced 2025-04-02 21:30:51 +00:00
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…
x
Reference in New Issue
Block a user