Skip to content Skip to sidebar Skip to footer

Is There A Way To Up-size The Font With Css To Fit The Screen?

I'm thinking about improving the front page of the OpenBSD ports web-site, which lists about 71 categories of the ports. My idea is to use a couple of columns (maybe ul {-moz-colum

Solution 1:

I think this is what you're looking for: http://dev.w3.org/csswg/css-values/#viewport-relative-lengths

You can you vw (viewport width) or wh (viewport height) where 1 v == 1% of the initial containing block

Example:

p{
     font-size: 4vw;
 }

Post a Comment for "Is There A Way To Up-size The Font With Css To Fit The Screen?"