CSS Font Variant

CSS Font Variant Property 

Well, this property helps us set the font variants for a font. Basically, we are going to set our text font to small caps, through which, all the low er case letters would be converted to upper case. But it is going to appear in a smaller text than an uppercase thing. Let’s try the property once –


As an output, the paragraph text is now going to have all uppercase font, with a smaller font size. If this is required, you can use the font-variant property.