cremeaux/assets/styles/reset.css

59 lines
857 B
CSS
Raw Normal View History

2020-09-02 16:54:03 +02:00
/*********
Reset CSS
*********/
/* Box sizing rules */
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
/*-webkit-font-smoothing: antialiased*/
/*--moz-osx-font-smoothing: grayscale*/
scroll-behavior: smooth;
}
2020-09-02 16:54:03 +02:00
/* Remove default margin */
body,
h1,
h2,
h3,
h4,
h5,
p,
ul[class]
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
margin: 0;
}
/* Make images easier to work with */
img {
max-width: 100%;
display: block;
}
/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
font: inherit;
}
/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}