Size gets too small because it's 90% and 80% of 16px (browser default font size). If you put your baseline font-size in body
element it gets overwritten when media query kicks in.
Do it like this:
html {font-size: 1.375em; /* 22px */}
body {
font-size: 100%; /* flexible baseline */
line-height: 1.4;
}
If you set your root element (html
) to desired baseline size you can use percentage values on body tag to resize text in various media queries.