HTML CSS examples for CSS Widget:Image Shadow
CSS shadow as image
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> ul {<!--from w w w. j a v a2 s . c o m--> list-style:none; } li { float:left; } .home_box { position:relative; width:151px; height:100px; } .light_blue { background-color:Chartreuse; } .blue { zoom:2.3; background-color:yellow; } .dark_blue { background-color:blue; } .home_box:before { content:' '; position:absolute; width:100%; height:11px; background:; bottom:-21px; } </style> </head> <body> <ul class="home_boxs"> <li class="home_box light_blue"> <div class="news clearfix"></div> </li> <li class="home_box blue"> <div class="news clearfix"></div> </li> <li class="home_box dark_blue"> <div class="news clearfix"></div> </li> </ul> </body> </html>