Skip to content

Instantly share code, notes, and snippets.

@JohnMorales JohnMorales/dabblet.css
Last active Aug 29, 2015

Embed
What would you like to do?
Untitled
.inner-border {
background: #000;
color: #fff;
margin: 50px;
padding: 15px;
position: relative;
}
.inner-border:before {
border: 5px solid #000;
content: "";
position: absolute;
top: -10px;
bottom: -10px;
left: -10px;
right: -10px;
}
<div class="inner-border">
Transparent Inside Border
</div>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"result"}
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.