CSS Font

DevJunctionPoint
0

 


CSS Font

  • Font properties are used to add different styles to the fonts.
  • Font properties are used to change the style, size, weight, etc. of the font.
  • Font styling adds a good impact on the readers, that's why we use different font styling properties.

Different font-properties

font-family:

font-family property is used to specify the font of a text.

.heading {
    font-family: 'sans-serif', 'Ubuntu';
}


font-size

font-size property is used to specify the size of the text.

.heading {
    font-size: 20px;
}


font-weight

font-weight property set, how bold or thin characters in the text should be displayed

.heading {
    font-weight: bold;
}

Tags

Post a Comment

0Comments

Do leave your comments

Post a Comment (0)

#buttons=(Ok, Go it!) #days=(20)

Our website uses cookies to enhance your experience. Check Now
Ok, Go it!
To Top