Font variant IN CSS

Font variant [font-variant]

The property font-variant is used to choose between normal or small-caps variants of a font. A small-caps font is a font that uses smaller sized capitalized letters (upper case) instead of lower case letters. Confused? 

If font-variant is set to small-caps and no small-caps font is available the browser will most likely show the text in uppercase instead.

 
 h1 {font-variant: small-caps;}
 h2 {font-variant: normal;}
 
 

Comments

Popular posts from this blog

Displaying a flash message after redirect in Codeigniter

What is required for it startup company ?

how to export html data to pdf in angularjs and javascript