css-framework/src/css/reset.css

71 lines
684 B
CSS

*,
*::before,
*::after {
box-sizing: border-box;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
}
body {
min-height: 100vh;
text-rendering: optimizeSpeed;
line-height: 1.5;
}
ul,
ol {
list-style: none;
}
/* A elements that don't have a class get default styles */
a {
text-decoration-skip-ink: auto;
}
img,
picture {
max-width: 100%;
display: block;
}
p {
line-height: 1.5;
}
input,
button,
textarea,
select {
font: inherit;
}
.reset {
background-color: transparent;
padding: 0;
border: 0;
border-radius: 0;
color: inherit;
line-height: inherit;
appearance: none;
}