Screen Viewport Sized Fonts with CSS

Glenn Blog 0 Comments

Here is how to set your fonts by the screen size / viewport size with CSS 1vw = 1% of viewport width 1vh = 1% of viewport height 1vmin = 1vw or 1vh, whichever is smaller 1vmax = 1vw or 1vh, whichever is larger These simple lines of CSS can give your site truly responsive text with just CSS:_ For …