css font sizes code example
Example 1: font size css
.class {
font-size: 12px;
}
Example 2: css change text size
p {
font-size: 150% ;
}
Example 3: text size in CSS
font-size: 2em;
Example 4: css font-size
#selector{
font-size:20px;
}
Example 5: font size css
.class {
font-size: 60px;
}
Example 6: font size css
font-size: xx-small;
font-size: x-small;
font-size: small;
font-size: medium;
font-size: large;
font-size: x-large;
font-size: xx-large;
font-size: xxx-large;
font-size: smaller;
font-size: larger;
font-size: 12px;
font-size: 0.8em;
font-size: 80%;
font-size: inherit;
font-size: initial;
font-size: unset;