Created
June 20, 2011 23:24
-
-
Save alchemycs/1036856 to your computer and use it in GitHub Desktop.
CSS To Simulate a Paper Page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
This code is taken from the forrst post: http://forrst.com/posts/CSS_to_simulate_a_paper_page-zwj | |
*/ | |
section.page { | |
overflow: hidden; | |
margin: 50px auto; | |
width: 600px; | |
padding: 20px; | |
border-width: 1px; | |
border-style: solid; | |
border-color: #959595; | |
background-color: #FFFFFF; | |
-moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2), inset 0 0 10px rgba(0, 0, 0, 0.03); | |
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2), inset 0 0 10px rgba(0, 0, 0, 0.03); | |
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2), inset 0 0 10px rgba(0, 0, 0, 0.03); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment