<html>
<head>
<title>Abakada CSS Demo: Applying Zoom to a Section of Text</title>
<link rel="stylesheet" href="/shared/netdemos.css">
<style>
.content {
max-width: 60ch; margin: auto; padding: 12px;
background: linear-gradient( skyblue, khaki, sandybrown );
border-radius: 18px;
}
</style>
<script language="javascript">
function change ( ) {
content.style.zoom = zoom.value;
}
</script>
</head>
<body>
<div class="header"><h2>Abakada CSS Demo: Applying <b>Zoom</b> to a Section of Text</h2></div>
<hr size=1 width=92%>
<center>
<h4>This example illustrates the effects of passing different values to the <b>zoom</b> property<br>
to change the size of textual content.</h4>
<section id="content" class="content">
<h3>Hello. Welcome to CSS.</h3>
<p>
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Placeat inventore
ea eveniet, fugiat in consequatur molestiae nostrum repellendus nam
provident repellat officiis facilis alias facere obcaecati quos sunt
voluptas! Iste.
</p>
<p>
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Placeat inventore
ea eveniet, fugiat in consequatur molestiae nostrum repellendus nam
provident repellat officiis facilis alias facere obcaecati quos sunt
voluptas! Iste.
</p>
</section>
<br>
<section>
<label for="zoom">Zoom level
<select name="zoom" id="zoom" onchange="change ( )">
<option value="0.5">Extra Small</option>
<option value="0.75">Small</option>
<option value="1" selected>Normal</option>
<option value="1.25">Medium</option>
<option value="1.5">Large</option>
<option value="2">Extra Large</option>
</select>
</label>
</section>
</center>
<hr size=1 width=92%>
<!-- #include virtual="~/shared/viewsrc.inc" -->
</body>
</html>