diff options
Diffstat (limited to '_sass/_reset.scss')
| -rw-r--r-- | _sass/_reset.scss | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/_sass/_reset.scss b/_sass/_reset.scss new file mode 100644 index 0000000..1cf0654 --- /dev/null +++ b/_sass/_reset.scss @@ -0,0 +1,39 @@ +*, *::before, *::after { + box-sizing: border-box; +} + +* { + margin: 0; +} + +@media (prefers-reduced-motion: no-preference) { + html { + interpolate-size: allow-keywords; + } +} + +body { + line-height: 1.5; + -webkit-font-smoothing: antialiased; +} + +img, picture, video, canvas, svg { + display: block; + max-width: 100%; +} + +input, button, textarea, select { + font: inherit; +} + +p, h1, h2, h3, h4, h5, h6 { + overflow-wrap: break-word; +} + +p { + text-wrap: pretty; +} + +h1, h2, h3, h4, h5, h6 { + text-wrap: balance; +} |
