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>

0 Responses to “How to Set the variant of the font in css”

Post a Comment