Skip to content

Instantly share code, notes, and snippets.

@chovy chovy/dabblet.css
Created Jun 8, 2013

Embed
What would you like to do?
Untitled
#foo {
font-family: sans-serif;
width: 200px;
height: 200px;
background: #fff;
border: 1px solid #999;
border-radius: 5px;
position: relative;
}
#foo:empty:before {
position: absolute;
background: #eee;
width: 80px;
height: 50px;
content: 'None';
border: 1px solid #999;
border-radius: 5px;
top: 50%;
left: 50%;
margin-left: -40px;
margin-top: -25px;
text-align: center;
display: block;
line-height: 50px;
}
<div id="foo"></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
You can’t perform that action at this time.