itcss
Version:
CSS starter boilerplate based on the ITCSS pattern
20 lines (17 loc) • 403 B
CSS
html {
scroll-behavior: smooth;
scroll-snap-type: x mandatory;
-webkit-tap-highlight-color: color-mod(var(--color-secondary) alpha(0%));
}
body {
font-family: var(--font-sans-serif);
font-size: var(--font-size-base);
line-height: var(--line-height-base);
color: var(--color-secondary);
min-width: 20rem;
margin: 0;
background-color: var(--color-primary);
}
[id] {
scroll-margin-top: 2ex;
}