Answers for "set font size in css"

CSS
37

font size css

.class {
	font-size: 12px;
}
Posted by: Guest on February-15-2020
7

css change text size

p {
	font-size: 150% /*px, cm, in, etc.*/; 
}
Posted by: Guest on May-14-2020
3

how to change text size in css

.class{
  	font-size: 100%;
}

.class{
  	font-size: 20em;
}

.class{
  	font-size: 20px;
}

.class{
  	font-size: 20pt:
}
Posted by: Guest on April-13-2021
1

css font size

// to scale font size in relation to its parent element
style="font-size: 2vw;"
Posted by: Guest on July-02-2020

Browse Popular Code Answers by Language