CCS3 Scale

The scale transform function scales the element it is applied on by the value specified from the point of origin.

Css

<style>
.box{
   width:100px;
height:100px;
background:#eee;
}

.scale{
   -webkit-transform: scale(.8);
-moz-transform: scale(.8);
-o-transform: scale(.8);
}
</style>

Html

<p class=box>Text noscale example</p>
<p class='box scale'>Text scale example</p>

Related Posts

CSS3 Text stroke, CSS3 background-size, CSS3 first-child, CSS3 last-child, CSS3 Image Reflections, CSS3 nth-child, CSS3 Selectors Test