HTML CSS examples for CSS Layout:Parent Container
Place an element with height:auto at the bottom of its parent
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .container{<!-- w w w . j a v a 2 s . co m--> } .col { display:inline-block; vertical-align:bottom; background:red; } </style> </head> <body> <div class="container"> <div class="col"> one row </div> <div class="col"> one row <br> one row </div> <div class="col"> one row <br> one row <br> one row </div> </div> </body> </html>