Ajax Loader
×
HTML
 <article> 
1
 <article> 
2
 
3
       <h1>CSS3 Wrapping Drop Shadows</h1> 
4
 
5
      <p>Without extra bullshit markup. Fluid/liquid. All modern browsers.</p>  
6
 
7
    </article>   
 
CSS
article {
1
article {
2
      display: block;
3
      position: relative;
4
      width: 90%;    
5
      padding: 1.5em; 
6
      margin: 10em auto; 
7
      color: rgba(0,0,0, 0.8); 
8
      line-height: 1.5;
9
      text-align: center;
10
      background: #ccc;
11
      text-shadow: 0 1px 0 #fff;
12
      -webkit-border-radius: 4px;  
13
      -moz-border-radius: 4px; 
14
      border-radius: 4px;
15
    }
16
 
17
    article:before, article:after {
18
      z-index: -1; 
19
      position: absolute; 
20
      content: "";
21
      bottom: 15px;
22
      left: 10px;
23
      width: 50%; 
24
      top: 80%;
25
      max-width:300px;
26
      background: rgba(0, 0, 0, 0.7); 
27
      -webkit-box-shadow: 0 15px 10px rgba(0,0,0, 0.7);   
28
      -moz-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
29
      box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
30
      -webkit-transform: rotate(-3deg);    
31
      -moz-transform: rotate(-3deg);   
32
      -o-transform: rotate(-3deg);
33
    }
34
 
35
    article:after{                 
36
      right: 10px; 
37
      left: auto;
38
      -webkit-transform: rotate(3deg);   
39
      -moz-transform: rotate(3deg);  
40
      -o-transform: rotate(3deg);
41
    }    
42
 
 

Untitled

CSSDeck G+