diff options
| author | muqiuhan <[email protected]> | 2023-02-24 14:22:33 +0000 |
|---|---|---|
| committer | muqiuhan <[email protected]> | 2023-02-24 14:22:33 +0000 |
| commit | d7ba01c52c02470fbcea6bdc43e58ac0d28084de (patch) | |
| tree | b0d617bc0b8cc515725410a38227f537ab587312 /css/reset.css | |
| download | blog-d7ba01c52c02470fbcea6bdc43e58ac0d28084de.tar.gz | |
deploy: c7baa4dd029ccb68a9b82cabb1282e6dd291dba1
Diffstat (limited to 'css/reset.css')
| -rw-r--r-- | css/reset.css | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/css/reset.css b/css/reset.css new file mode 100644 index 00000000..1d63f714 --- /dev/null +++ b/css/reset.css @@ -0,0 +1,70 @@ +@charset "utf-8"; + +*, +*::before, +*::after +{ + box-sizing: border-box; +} + +body, +h1, +h2, +h3, +h4, +h5, +h6, +p, +figure, +blockquote, +dl, +dd +{ + margin: 0; +} + +ul, +ol +{ + list-style: none; +} + +ul +{ + padding-inline-start: 0; +} + +html, +body +{ + scroll-behavior: smooth; +} + +a:not([class]) +{ + text-decoration-skip-ink: auto; +} + +img, +picture +{ + width: auto; + max-width: 100%; + display: block; +} + +input, +button, +textarea, +select +{ + font: inherit; +} + +@media (prefers-reduced-motion: reduce) +{ + html:focus-within + { + scroll-behavior: auto; + } +}
\ No newline at end of file |
