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;
}
0 Comments:
Post a Comment
Do leave your comments