Shorthand property to set the font with CSS

The font property is used as shorthand to specify the number of other font properties, such as font family, size, style, etc.

Example

You can try to run the following code to learn how to work with font property:

   
   
   
      

         Applying all the properties on the text at once.      

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

258 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements