CSS3 Wrapping Drop Shadows
<style>
.article{
position: relative;
width: 990px;
background: #ccc;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
padding: 1.5em;
margin: 100px auto;
}
.article:before, .article:after {
bottom: 15px;
content: " ";
height: 10px;
left: 8px;
position: absolute;
width: 400px;
z-index: -1;
-webkit-box-shadow: 0 15px 10px rgba(0,0,0, 0.8);
-moz-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.8);
box-shadow: 0 15px 10px rgba(0, 0, 0, 0.8);
-webkit-transform: rotate(-2deg);
-moz-transform: rotate(-2deg);
-o-transform: rotate(-2deg);
}
.article:after {
-webkit-transform: rotate(2deg);
-moz-transform: rotate(2deg);
-o-transform: rotate(2deg);
right: 10px;
left: auto;
}
</style>
<div class="article">
<h1>CSS3 Wrapping Drop Shadows</h1>
<p>With <del>out any</del> minimal extra bullshit markup(You need the first child to be a container element like a header, hgroup or a div). Oh and they stretch G. Webkit only for now, although I'm sure Firefox could do this trick as well.</p>
</div>