Created
October 19, 2012 16:39
-
-
Save uhtred/3919239 to your computer and use it in GitHub Desktop.
CSS: Shapes
This file contains 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
/** | |
* CSS3 Usual Shapes | |
*/ | |
/* Arrow 1 */ | |
#left-triangle { | |
width: 0; | |
height: 0; | |
border-right: 5px solid gray; | |
border-top: 5px solid transparent; | |
border-bottom: 5px solid transparent; | |
} | |
#left-triangle:after { | |
content: ''; | |
display: block; | |
width: 0; | |
height: 0; | |
border-right: 5px solid white; | |
border-top: 5px solid transparent; | |
border-bottom: 5px solid transparent; | |
margin: -5px 0 0 2px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment