Write Your Media Queries in Pixels, Not EMs

from blog Matthias Ott, | ↗ original
↗ original
Edit on 09-04-2022: This article is quite old and I have since realized that the conclusion I draw in the article was wrong. The upsides of using EMs as the unit in your media queries, especially in terms of accessibility, far outweigh the one downside I described in the post. So please use relative units for all media queries going...