Ajax Loader
HTML
<div class="papers">
1
<div class="papers">
2
  <h1>CSS3 shuffled paper effect</h1>
3
  <p>This example creates a shuffled paper effect using HTML and CSS3.</p>
4
  <p>You simply need to apply a class of "papers" to any element containing content.</p>
5
  <p>The paper effects can be modified in the CSS to change the width, padding, margin, color, border, angle of rotation, etc. The background paper is applied using :before and :after pseudo elements.</p>
6
  <p>You're welcome to copy or use the code in your own projects. It would be great if you could 
7
    link back to <a href="http://www.sitepoint.com/css3-shuffled-paper/">the explanitory article at SitePoint.com</a> or <a href="http://twitter.com/craigbuckler">follow @craigbuckler on Twitter</a>&hellip;</p>
8
  <p>I hope you like it!</p>
9
</div>
 
CSS
body
1
body
2
{
3
  font-family: sans-serif;
4
  font-size: 100%;
5
  color: #444;
6
  background-color: #ddd;
7
}
8
 
9
.papers, .papers:before, .papers:after
10
{
11
  background-color: #fff;
12
  border: 1px solid #ccc;
13
  box-shadow: inset 0 0 30px rgba(0,0,0,0.1), 1px 1px 3px rgba(0,0,0,0.2);
14
}
15
 
16
.papers
17
{
18
  position: relative;
19
  width: 50%;
20
  padding: 2em;
21
  margin: 50px auto;
22
}
23
 
24
.papers:before, .papers:after
25
{
26
  content: "";
27
  position: absolute;
28
  left: 0;
29
  top: 0;
30
  width: 100%;
31
  height: 100%;
32
  -webkit-transform: rotateZ(2.5deg);
33
  -o-transform: rotate(2.5deg);
34
  transform: rotateZ(2.5deg);
35
  z-index: -1;
36
}
37
 
38
.papers:after
39
{
40
  -webkit-transform: rotateZ(-2.5deg);
41
  -o-transform: rotate(-2.5deg);
42
  transform: rotateZ(-2.5deg);
43
}
44
 
45
.papers h1
46
{
47
  font-size: 1.8em;
48
  font-weight: normal;
49
  text-align: center;
50
  padding: 0.2em 0;
51
  margin: 0;
52
  border-top: 1px solid #ddd;
53
  border-bottom: 2px solid #ddd;
54
}
55
 
56
.papers p
57
{
58
  text-align: left;
59
  margin: 1.5em 0;
60
}
 

Shuffled paper

CSSDeck G+