Set the font weight with CSS

The font-weight property is used to increase or decrease how bold or light a font appears. The font-weight property provides the functionality to specify how bold a font is. Possible values could be normal, bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900.

   
   
   
      

This font is bold.

     

This font is bolder.

     

This font is 500 weight.

   
Updated on: 2020-01-30T10:21:39+05:30

207 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements