-
@kilianvalkhof @mathias Regarding normalization: you can just compare to
'not all'(notice the superfluous spaces):window.matchMedia('(prefers-reduced-data )').media === 'not all'. I also like your CSS-only approach, didn't think about this. Nice one!