You are here : cssCSS 3font-size

font-size - CSS 3

The font-size property sets the size of a font.


Syntax

font-size:medium|xx-small|x-small|small|large|x-large|xx-large|smaller|larger|length|initial|inherit;


Example

h1 {    font-size: 250%;}
	h2 {    font-size: 200%;}
p {    font-size: 100%;}


Output / Return Value


Limitations


Alternatives / See Also


Reference