Skip to content

Instantly share code, notes, and snippets.

@usefulthink
Created October 27, 2012 15:15
Show Gist options
  • Save usefulthink/3965043 to your computer and use it in GitHub Desktop.
Save usefulthink/3965043 to your computer and use it in GitHub Desktop.
content-box shadows part I
/**
* content-box shadows part I
*/
body {
background-color: #666; }
.container {
width: 80%; height: 800px;
border-radius: 50px;
overflow: hidden;
margin: 0 auto; }
.left, .right {
width: 50%; height: 100%; }
.left { float: left; z-index: 2; background: #eee; }
.right { float: right; z-index: 1; background: #cceeee; }
.left { box-shadow: 10px 0 30px 0px rgba(128,128,128,0.5); }
@media only all and (max-width: 600px) {
.left, .right {
float: none;
width: 100%; height: 50%; }
}
<div class="container">
<div class="right"></div>
<div class="left"></div>
</div>
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment