@media and EM
My media queries seems to be acting up when using it for mobile. I will attach the video if possible.
5 Replies
When i add the code for the mobile @media it messes up the normal desktop size and tablet sizes, also it does not adjust the size of the mobile.
I watched some of kevins vids and he was doing this, i just used max width instead as I prefer it.
Does anyone know why this happens?
Your 25em root assignments are not nested inside the media query.
what do you mean
Aah shit
You are overriding root styles because they are outside the media query curly braces
Silly mistake, thanks!