type of font sizes css code example
Example 1: css change text size
p {
font-size: 150% /*px, cm, in, etc.*/;
}
Example 2: css font-size
#selector{
font-size:20px;
}
Example 3: css font size
// to scale font size in relation to its parent element
style="font-size: 2vw;"