The font-size-adjust property changes the aspect of the text in a Web page.
Create a Webpage named fontsizeadjust.html
<!doctype html>
<head>
<title>working with the font-size-adjust property</title>
<style>
p
{
font-familty:Futura;
font-size:100px;
}
span
{
border:solid 1px blue;
}
span.adjust
{
font-size-adjust:0.5;
}
</style>
</head>
<body>
<h1>Working with font-size-adjust property in CSS</h1>
<p><span>hello</span><span class="adjust">hello</span></p>
</body>
</html>
Here we have used the font-size-adjust property to change the aspect value of the font.
The Browser view of fontsizeadjust.html file is:
Create a Webpage named fontsizeadjust.html
<!doctype html>
<head>
<title>working with the font-size-adjust property</title>
<style>
p
{
font-familty:Futura;
font-size:100px;
}
span
{
border:solid 1px blue;
}
span.adjust
{
font-size-adjust:0.5;
}
</style>
</head>
<body>
<h1>Working with font-size-adjust property in CSS</h1>
<p><span>hello</span><span class="adjust">hello</span></p>
</body>
</html>
Here we have used the font-size-adjust property to change the aspect value of the font.
The Browser view of fontsizeadjust.html file is:
No comments:
Post a Comment