From d1f79f7477e82621056b0baed009ceddb1d5a981 Mon Sep 17 00:00:00 2001 From: Andy Bell Date: Mon, 3 Feb 2020 21:30:20 +0000 Subject: [PATCH] Add blurred images with no alt attributes --- src/reset.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/reset.css b/src/reset.css index 0b7e1e6..ac41cf2 100644 --- a/src/reset.css +++ b/src/reset.css @@ -65,6 +65,11 @@ select { font: inherit; } +/* Blur images when they have no alt attribute */ +img:not([alt]) { + filter: blur(10px); +} + /* Remove all animations and transitions for people that prefer not to see them */ @media (prefers-reduced-motion: reduce) { * {