Font size in CSS

Font size [font-size]

The size of a font is set by the property font-size.
There are many different units (e.g. pixels and percentages) to choose from to describe font sizes. In this tutorial we will focus on the most common and appropriate units. Examples include:

 
 h1 {font-size: 30px;}
 h2 {font-size: 12pt;}
 h3 {font-size: 120%;}
 p {font-size: 1em;}
 
 

Comments

Popular posts from this blog

TOP PHP freamwork

What is required for it startup company ?

why use Laravel in Your Next Project ?