Usage of font-size property in CSS

The font-size property is used to increase or decrease the size of a font. The font-size property is used to control the size of fonts. Possible values could be xx-small, x-small, small, medium, large, x-large, xx-large, smaller, larger, size in pixels or in %.

   
   
   
      

This font size is 15 pixels

     

This font size is small

     

This font size is large

   
Updated on: 2020-01-30T10:22:35+05:30

193 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements