HTML CSS examples for CSS Widget:Footer aligned bottom
Align multiple span's to bottom of footer
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> footer {<!-- w w w.j a v a 2s . c om--> width:100%; height:31px; background-color:Chartreuse; position:relative; } div { position:absolute; bottom:0; height:51%; width:100%; } span { border-left:2px solid yellow; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; height:100%; display:block; float:left; width:26%; background-color:blue; } </style> </head> <body> <footer> <div> <span></span> <span></span> <span></span> <span></span> </div> </footer> </body> </html>