Created
October 28, 2013 21:26
-
-
Save lisasy/7205108 to your computer and use it in GitHub Desktop.
Custom nub arrow
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
div.nub { | |
border-bottom: 16px solid rgb(250,250,250); | |
border-left: 16px solid transparent; | |
border-right: 16px solid transparent; | |
content: ''; | |
height: 0; | |
margin-left: -16px; | |
position: absolute; | |
top: -16px; | |
width: 0; | |
&:before { | |
border-bottom: 17px solid $base-border-color; | |
border-left: 17px solid transparent; | |
border-right: 17px solid transparent; | |
margin-left: -17px; | |
position: absolute; | |
top: -17px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment