Created
December 11, 2012 12:45
-
-
Save martisj/4258307 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s background: #f06;#borders {
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
/** | |
* The first commented line is your dabblet’s background: #f06;#borders { | |
} | |
#borders | |
{ | |
position: relative; | |
border: 5px solid #f00; | |
} | |
#borders:before { | |
content: " "; | |
position: absolute; | |
z-index: -1; | |
top: 5px; | |
left: 5px; | |
right: 5px; | |
bottom: 5px; | |
border: 5px solid #ffea00; | |
} |
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
<!-- content to be placed inside <body>…</body> --> | |
<div id="borders"></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
// alert('Hello world!'); |
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","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