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