Skip to content

Instantly share code, notes, and snippets.

@martisj
Created December 11, 2012 12:45
Show Gist options
  • Save martisj/4258307 to your computer and use it in GitHub Desktop.
Save martisj/4258307 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s background: #f06;#borders {
/**
* 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;
}
<!-- content to be placed inside <body>…</body> -->
<div id="borders"></div>
// alert('Hello world!');
{"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