Skip to content

Instantly share code, notes, and snippets.

@tutweb
Created March 29, 2013 19:49
Show Gist options
  • Select an option

  • Save tutweb/5273175 to your computer and use it in GitHub Desktop.

Select an option

Save tutweb/5273175 to your computer and use it in GitHub Desktop.
Membuat efek tumpukan kertas dengan css
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Efek Tumpukan Kertas Dengan CSS</title>
<style>
body {
background:#666;
}
.kertas {
background-color:#FFF;
height:350px;
width:260px;
padding:20px;
margin:20px auto;
-webkit-box-shadow:
1px 1px 0 rgba(0,0,0,0.100),
3px 3px 0 rgba(255,255,255,1.0),
4px 4px 0 rgba(0,0,0,0.125),
6px 6px 0 rgba(255,255,255,1.0),
7px 7px 0 rgba(0,0,0,0.150),
9px 9px 0 rgba(255,255,255,1.0),
10px 10px 0 rgba(0,0,0,0.175);
box-shadow:
1px 1px 0 rgba(0,0,0,0.100),
3px 3px 0 rgba(255,255,255,1.0),
4px 4px 0 rgba(0,0,0,0.125),
6px 6px 0 rgba(255,255,255,1.0),
7px 7px 0 rgba(0,0,0,0.150),
9px 9px 0 rgba(255,255,255,1.0),
10px 10px 0 rgba(0,0,0,0.175);
}
</style>
</head>
<body>
<div class="kertas">
<strong>Demo: <a href="http://www.Tutorial-Webdesign.com">Tutorial-Webdesign.com</a></strong>
<p><a href="http://www.tutorial-webdesign.com/efek-tumpukan-kertas-css/">Back to tutorial</a></p>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment