Revision: 56696
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 10, 2012 08:50 by rodcwahr
Initial Code
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title> </title> <Style> ul.box { margin: 0; padding: 0; } ul.box li { list-style-type: none; margin: 0 30px 30px 0; padding: 0; width: 250px; height: 150px; border: 1px solid #efefef; position: relative; float: left; background: #ffffff; /* old browsers */ background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* firefox */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e5e5e5)); /* webkit */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* ie */ -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3); -moz-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3); } ul.box li:after { z-index: -1; position: absolute; background: transparent; width: 70%; height: 55%; content: ''; right: 10px; bottom: 10px; -webkit-transform: skew(15deg) rotate(5deg); -webkit-box-shadow: 8px 12px 10px rgba(0, 0, 0, 0.3); -moz-transform: skew(15deg) rotate(5deg); -moz-box-shadow: 8px 12px 10px rgba(0, 0, 0, 0.3); } ul.box li:before { z-index: -2; position: absolute; background: transparent; width: 70%; height: 55%; content: ''; left: 10px; bottom: 10px; -webkit-transform: skew(-15deg) rotate(-5deg); -webkit-box-shadow: -8px 12px 10px rgba(0, 0, 0, 0.3); -moz-transform: skew(-15deg) rotate(-5deg); -moz-box-shadow: -8px 12px 10px rgba(0, 0, 0, 0.3); } </Style> <body><!-- source: http://matthamm.com/box-shadow-curl.html --> <ul class="box"> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> </ul> </body> </html>
Initial URL
Initial Description
Initial Title
CSS3 box-shadow with page curl effect
Initial Tags
curl, page, CSS3
Initial Language
Other