T
T
Think With Your Head2015-07-07 03:17:07
css
Think With Your Head, 2015-07-07 03:17:07

Why do media queries use ems?

Hello!
I don't understand what's the point:
2015-07-07_0512.png
It's from foundation. But I didn't just see them.
Em seems to be relevant for the font. What is the point of setting the screen size in ems?
I predict the answer - for devices / browsers with a base font size other than 16. Is this really relevant today? And does the base font size affect the size of the viewport, which is always fixed in pixels (320, 768, 1024 pixels, etc.)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nazar Mokrinsky, 2015-07-07
@nazarpc

Look at the commit history to find when it appeared and what motivated it, ask the developers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question