Last active
January 4, 2017 16:53
-
-
Save bratsun/f098f75ecdec5ce1e4cfb29d856eb119 to your computer and use it in GitHub Desktop.
Simple css arrow for next link
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
.btn-next{ | |
text-transform: uppercase; | |
font-size: 13px; | |
position: relative; | |
margin-top: 25px; | |
display: inline-block; | |
&:after { | |
position: relative; | |
top: -2px; | |
vertical-align: middle; | |
content: ""; | |
display: inline-block; | |
width: 6px; | |
height: 6px; | |
border-right: 1px solid $blue; | |
border-top: 1px solid $blue; | |
transform: rotate(45deg); | |
margin-left: 6px; | |
} | |
&:hover:after{ | |
border-right-color: $blue-light; | |
border-top-color: $blue-light; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment