Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Commit d1f79f7

Browse files
Add blurred images with no alt attributes
1 parent 6741b54 commit d1f79f7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/reset.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ select {
6565
font: inherit;
6666
}
6767

68+
/* Blur images when they have no alt attribute */
69+
img:not([alt]) {
70+
filter: blur(10px);
71+
}
72+
6873
/* Remove all animations and transitions for people that prefer not to see them */
6974
@media (prefers-reduced-motion: reduce) {
7075
* {

0 commit comments

Comments
 (0)