Created
June 13, 2013 11:03
-
-
Save leechy/5772905 to your computer and use it in GitHub Desktop.
Emboss Effect for the 4game Security 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
/** | |
* Emboss Effect for the 4game Security Page | |
*/ | |
body { | |
background-color: #ffdd32; | |
} | |
.comics__paper { | |
position: relative; | |
width: 1000px; | |
margin: 50px auto; | |
background-color: #f8e377; | |
box-shadow: | |
3px -3px 2px #d1ba5e inset, | |
-3px -3px 2px #d1ba5e inset; | |
} | |
.comics__paper:before { | |
position: absolute; | |
top: 0; | |
left: 0; | |
z-index: 1; | |
width: 100%; | |
height: 25px; | |
background-image: -webkit-radial-gradient(500px 0, 501px 25px, #f8e377 500px, transparent 500px); | |
background-image: radial-gradient(ellipse at 500px 0, #f8e377 500px, transparent 500px); | |
display: block; | |
content: ' '; | |
} | |
.comics__content { | |
position: relative; | |
z-index: 1; | |
padding: 30px; | |
} |
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
<div class="comics__paper"> | |
<div class="comics__content"> | |
123123<br /> | |
123123<br /> | |
123123<br /> | |
123123<br /> | |
123123<br /> | |
123123<br /> | |
</div> | |
</div> |
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
// alert('Hello world!'); |
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
{"view":"split","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