Skip to content

Instantly share code, notes, and snippets.

@JohnMorales
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JohnMorales/6cffa8df53b4a5b2d990 to your computer and use it in GitHub Desktop.
Save JohnMorales/6cffa8df53b4a5b2d990 to your computer and use it in GitHub Desktop.
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