Created
August 21, 2014 00:45
-
-
Save i5ar/83060a59cd388bb08b5b to your computer and use it in GitHub Desktop.
Triangle
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
/* Triangle */ | |
.triangle { position: relative; } | |
.triangle::before { | |
border-top: 0; | |
border-right: 175px solid transparent; | |
border-bottom: 175px solid transparent; | |
border-left: 175px solid #af2715; | |
position: absolute; | |
content: ""; | |
z-index:3; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment