Friday, 20 July 2012
How to Set the variant of the font in css
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
p.normal {font-variant:normal;}
p.small {font-variant:small-caps;}
</style>
</head>
<body>
<p class="normal">My name is Adolf Hitler.</p>
<p class="small">My name is Adolf Hitler.</p>
</body>
</html>
This post was written by: Bharathi
Bharthi is a professional blogger, web designer and front end web developer. Follow him on Twitter
Subscribe to:
Post Comments (Atom)
0 Responses to “How to Set the variant of the font in css”
Post a Comment