Created
October 17, 2013 13:09
-
-
Save dhrobbins/7024585 to your computer and use it in GitHub Desktop.
CSS for changing / creating carets in Bootstrap. Found it on Stackoverflow - http://stackoverflow.com/questions/10801325/changing-bootstrap-caretcolor-and-position
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
body {padding: 10px;} | |
.caret { | |
border-left: 4px solid transparent; | |
border-right: 4px solid transparent; | |
border-top: 4px solid #000000; | |
display: inline-block; | |
height: 0; | |
opacity: 0.3; | |
vertical-align: top; | |
width: 0; | |
} | |
.right-caret { | |
border-bottom: 4px solid transparent; | |
border-top: 4px solid transparent; | |
border-left: 4px solid #000000; | |
display: inline-block; | |
height: 0; | |
opacity: 0.3; | |
vertical-align: top; | |
width: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment