DEV Community

Discussion on: Responsive CSS Layouts WITHOUT Media Queries

Collapse
 
kylefilegriffin profile image
Kyle Griffin

You can use calc combined with media queries.

font-size: calc(16px + 0.5vw);

This will scale your font with the width of the screen. Of course, the caveat being that on a TV or abnormally ultra wide screen, you'll have issues with text being huge. So you'll need to use media queries to tame it.

Thanks!