The font-style
property is mostly used to specify italic text.
This property has three values:
p.normal {
font-style: normal;
}
p.italic {
font-style: italic;
}
p.oblique {
font-style: oblique;
}
Try it Yourself »
The font-weight
property specifies the weight of a font:
The font-variant
property specifies whether or not a text should be displayed in a small-caps font.
In a small-caps font, all lowercase letters are converted to uppercase letters. However, the converted uppercase letters appears in a smaller font size than the original uppercase letters in the text.
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!