Answers for "make fontsize smaller on small screens css"

1

how to make text big on big screens and smaller and smaller screen html

Use 'vw' for reacting to width and 'vh' for height
Posted by: Guest on October-10-2020
0

change font size according to screen css

There are several ways to achieve this.

*CSS supports dimensions that are relative to viewport.

3.2vw = 3.2% of width of viewport

3.2vh = 3.2% of height of viewport

3.2vmin = Smaller of 3.2vw or 3.2vh

3.2vmax = Bigger of 3.2vw or 3.2vh

body {
  font-size: 3.2vw;
}

see http://css-tricks.com/viewport-sized-typography/
and also look at http://caniuse.com/viewport-units
Posted by: Guest on January-10-2022

Code answers related to "make fontsize smaller on small screens css"

Browse Popular Code Answers by Language