update reset css
This commit is contained in:
parent
da24e36530
commit
306fec4bcd
|
@ -41,10 +41,8 @@ body {
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Make images easier to work with */
|
a {
|
||||||
img {
|
text-decoration: none;
|
||||||
max-width: 100%;
|
|
||||||
display: block;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Inherit fonts for inputs and buttons */
|
/* Inherit fonts for inputs and buttons */
|
||||||
|
@ -55,10 +53,16 @@ select {
|
||||||
font: inherit;
|
font: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Make images easier to work with */
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
display: block;
|
||||||
|
|
||||||
/* Blur images when they have no alt attribute */
|
/* Blur images when they have no alt attribute */
|
||||||
img:not([alt]) {
|
&:not([alt]) {
|
||||||
filter: blur(10px);
|
filter: blur(10px);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Remove all animations and transitions for people that prefer not to see them */
|
/* Remove all animations and transitions for people that prefer not to see them */
|
||||||
@media (prefers-reduced-motion: reduce) {
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
@ -69,3 +73,5 @@ img:not([alt]) {
|
||||||
scroll-behavior: auto !important;
|
scroll-behavior: auto !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue