HTML CSS examples for CSS Widget:Div
CSS divs for responsive screen sizes
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #con<!--from w w w . ja v a2s . c o m--> { max-width:311px; min-height:141px; background:yellow; border:2px solid Chartreuse; } #lo { width:141px; height:141px; background:green; display:inline-block; vertical-align:bottom; } #tex { width:161px; height:61px; background:orange; display:inline-block; vertical-align:bottom; } </style> </head> <body> <div id="con"> <div id="lo"> Lorem </div> <div id="tex"> Lorem </div> </div> </body> </html>