Files
michaelschiemer/resources/css/base/reset.css

35 lines
695 B
CSS

/* alle Elemente inklusive Pseudoelemente mit border-box rechnen lassen */
*, *::before, *::after {
box-sizing: border-box;
}
:where(html, body, h1, h2, h3, h4, h5, h6, p, blockquote, figure, dl, dd, ul, ol) {
margin: 0;
padding: 0;
}
:where(table) {
border-collapse: collapse;
border-spacing: 0;
}
:where(article, aside, footer, header, nav, section, main) {
display: block;
}
[popover] {
/* CSSWG Issue #10258 */
inset: auto;
}
/* @link: https://moderncss.dev/12-modern-css-one-line-upgrades/#scroll-margin-topbottom */
:where([id]) {
scroll-margin-block-start: 2rem;
}
/* Vererbung für SVG-Icons */
svg {
fill: currentColor;
stroke: none;
}