HTML CSS examples for CSS Property:font-size
Height:auto interact with line-height:0 and different font-size
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #container {<!--from www . ja v a 2 s. co m--> background:Chartreuse; line-height:2px; margin:100px 0; } #content { border:2px solid; } .big { font-size:100px; } </style> </head> <body> <div id="container" class="big"> Lorem </div> </body> </html>