Last active
August 29, 2015 14:07
-
-
Save mikeselander/3c45b6f9e2f5dc515c10 to your computer and use it in GitHub Desktop.
Simple Triangle CSS
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
&:after{ | |
@size:32; | |
content:""; | |
position: absolute; | |
bottom: -@size*1px; | |
left: 0; | |
width: 0; | |
height: 0; | |
border-width:(@size / 2)*1px; | |
border-style:solid; | |
border-left-color: transparent; | |
border-bottom-color: transparent; | |
border-top-color: #000000; | |
border-right-color: #000000; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment