0👍
You can use some relative font-sizes units, these are some here.
CSS Units with relative length
- vw (% of the viewport width)
- vh (% of the viewport height)
- vi (1% of the viewport size in the direction of the root element’s inline axis)
- vb (1% of the viewport size in the direction of the root element’s block axis)
- vmin (the smaller of vw or vh)
- vmax (the larger or vw or
vh)
Example:
p {
font-size: 2vw;
}
- [Vuejs]-Vue bind class only on component load
- [Vuejs]-Google Charts – Organisation Chart appears broken
Source:stackexchange.com