Last active
August 29, 2015 14:07
-
-
Save pankajpatel/a9e3516dbc8c5be7be2a to your computer and use it in GitHub Desktop.
All Direction Arrow Heads with minimal CSS
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
<style type="text/css"> | |
.arrow{ | |
display: block; | |
width: 0px; | |
height: 0px; | |
border:30px solid transparent; | |
} | |
.arrow.arrow-up{ | |
border-bottom-color: #ccc; | |
border-top-width: 0px; | |
} | |
.arrow.arrow-down{ | |
border-top-color: #ccc; | |
border-bottom-width: 0px; | |
} | |
.arrow.arrow-left{ | |
border-right-color: #ccc; | |
border-left-width: 0px; | |
} | |
.arrow.arrow-right{ | |
border-left-color: #ccc; | |
border-right-width: 0px; | |
} | |
</style> | |
<div class="arrow arrow-up"></div> | |
<div class="arrow arrow-down"></div> | |
<div class="arrow arrow-left"></div> | |
<div class="arrow arrow-right"></div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment