Created
November 7, 2012 21:17
-
-
Save benjamincharity/4034534 to your computer and use it in GitHub Desktop.
CSS Border with Box-Shadow Example
This file contains hidden or 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
/** | |
* CSS Border with Box-Shadow Example | |
*/ | |
div { | |
/* Borders */ | |
box-shadow: 0 0 0 6px rgba(0,0,0,0.2), 0 0 0 12px rgba(0,0,0,0.2), 0 0 0 18px rgba(0,0,0,0.2), 0 0 0 24px rgba(0,0,0,0.2); | |
/* Meaningless pretty things */ | |
background: linear-gradient(45deg, powderBlue, ghostwhite); | |
height: 200px; | |
line-height: 200px; | |
font-family: sans-serif; | |
color: MidnightBlue; | |
margin: 100px auto; | |
text-align: center; | |
width: 400px | |
} |
This file contains hidden or 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>Eh careful man, there's a beverage here eh!</div> |
This file contains hidden or 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-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