Forked from mike-henderson/micro-clearfix-mixin.scss
          
        
    
          Last active
          August 29, 2015 14:25 
        
      - 
      
- 
        Save flipjs/9c250a4cf191a385f34c to your computer and use it in GitHub Desktop. 
  
    
      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
    
  
  
    
  | @mixin clearfix-micro() { | |
| & { | |
| *zoom: 1; | |
| } | |
| &:before, | |
| &:after { | |
| content: ""; | |
| display: table; | |
| } | |
| &:after { | |
| clear: both; | |
| } | |
| } | |
| //Usage: | |
| .whatever { | |
| @include clearfix-micro(); | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment