Skip to content

Instantly share code, notes, and snippets.

@jeremyboggs
Created February 15, 2012 14:25
Show Gist options
  • Save jeremyboggs/1836099 to your computer and use it in GitHub Desktop.
Save jeremyboggs/1836099 to your computer and use it in GitHub Desktop.
CSS to create a beveled or inset border before a selected element.
#whatever:before {
display:block;
height:0;
content: "";
border-top: 1px solid rgba(0,0,0,0.5);
border-bottom: 1px solid rgba(255,255,255,0.5);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment