Scale element based on font size - HTML CSS CSS Property

HTML CSS examples for CSS Property:font-size

Description

Scale element based on font size

Demo Code

ResultView the demo in separate window

<html lang="en">
 <head> 
  <style>
label {<!--from   w w w.j  a  va 2  s . c  om-->
   display:block;
   font-size:21px;
}

label>label {
   font-size:.10em;
}
</style> 
 </head> 
 <body translate="no"> 
  <label>Lorem ips<label>Lorem ips<label>Lorem ips<label>Lorem ips</label> <label> </label> </label> </label> </label>  
 </body>
</html>

Related Tutorials