update reset css

This commit is contained in:
Ray Elliott 2020-05-20 19:26:32 +01:00
parent da24e36530
commit 306fec4bcd
1 changed files with 68 additions and 62 deletions

View File

@ -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;
}
}