Forbrukslån | Sähkösopimus | MasterCard Kredittkort | Pris Strøm | Billig Hyttealarm | Sammenlign Forsikringer | Beste Mobilabonnement | Brystsmerter
CSS

CSS Font variant

If a web page is shown as the title of special needs, where normally the text of the letters to lowercase to uppercase, but the piece to appear in uppercase letters will be smaller than the font size relative to normal font size, the font is used Variant .This Is an Example of Variant text of the article for the Declaration to be bhariyenta style font-variant: small-caps; .

Practice Project:

<html>
<head>
<title> www.trickbd.com.bd</title>
<style>
body{background:#090}
#variant{ font-variant: small-caps; color:#C00;}
</style>

</head>
<body >
<h2>This is an example of normal h2 text .</h2>
<h2 id=”variant”>This Is an Example Of h2 Variant Text .</h2>
</body>
</html>

Notepad to open a file type from the menu at the top of layer code by clicking on the Save as File name: index.html, Save as type: All files, save and open the index.html file with the Mozilla Firefox look like the image shown below.

 

Comments

comments

About the author

Toriqul Islam Tusher

বলার মত কিছু নাই!

Leave a Comment