HTML CSS examples for CSS Widget:Font
Reverse font percentages
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #row2 {<!--from w w w . j av a 2 s . c om--> font-size:126%; } #row2 input:first-child { font-size:81%; } .eighty-percent { font-size:81%; } input { width:11em; } </style> </head> <body> Lorem <div id="base"> <div id="row1"> Lorem <input type="text" value="test"> </div> <div id="row2"> Lorem <input type="text" value="test"> <input type="text" value="test"> <span class="eighty-percent">Lore</span> </div> </div> </body> </html>