Last active
November 3, 2015 10:50
-
-
Save rubinchyk/7cbe5114dd8d96fccede to your computer and use it in GitHub Desktop.
SCSS - Triangle with border
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 | |
&:after { | |
content: ''; | |
display: block; | |
position: absolute; | |
width: 10px; | |
height: 10px; | |
background: white; | |
border-right: 1px solid rgba(0, 0, 0, 0.24); | |
border-bottom: 1px solid rgba(0, 0, 0, 0.24); | |
-moz-transform: rotate(-45deg); | |
-webkit-transform: rotate(-45deg); | |
right: -6px; | |
top: 21px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment