Created
February 15, 2012 14:25
-
-
Save jeremyboggs/1836099 to your computer and use it in GitHub Desktop.
CSS to create a beveled or inset border before a selected element.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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