Skip to content

Instantly share code, notes, and snippets.

@strack
Created November 7, 2012 19:28
Show Gist options
  • Save strack/4033819 to your computer and use it in GitHub Desktop.
Save strack/4033819 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body{
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
.test{
background-color: white;
height:100px;
border-radius:5px;
width:100px;
}
.test:before{
position:absolute;
content:"";
border:solid 1pt #333;
width:100px;
height:50px;
}
<!-- content to be placed inside <body>…</body> -->
<div class="test">test</div>
{"view":"separate","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