Rem not compatible with media queries?
问题 I'm using CSS breakpoints to update the font-size on my site. Regular text respond as expected, but the text affected by a class using rem value doesn't. Anyone have an idea why? (Try the snippet in full page and resize your browser) body { font-size: 22px; } .test { font-size: 2rem; } @media only screen and (max-width: 1280px) { body { font-size: 20px; } } @media only screen and (max-width: 1024px) { body { font-size: 17px; } } @media only screen and (max-width: 800px) { body { font-size: