Created
          October 24, 2015 19:42 
        
      - 
      
- 
        Save bjorn-ali-goransson/05773ea90b34c1b1dafc to your computer and use it in GitHub Desktop. 
    CSS-only caret inheriting from text-color
  
        
  
    
      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
    
  
  
    
  | .caret(@width: @caret-width-base) { | |
| display: inline-block; | |
| content: ''; | |
| width: 0; | |
| height: 0; | |
| margin-left: 10px; | |
| vertical-align: middle; | |
| border-top: @width dashed; | |
| border-top: @width solid ~"\9"; // IE8 | |
| border-right: @width solid transparent; | |
| border-left: @width solid transparent; | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment