Last active
          November 22, 2016 07:36 
        
      - 
      
- 
        Save fujimura/6726130 to your computer and use it in GitHub Desktop. 
    z-index.css.scss
  
        
  
    
      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 stack-classes ($classes) { | |
| $i: 10; | |
| @each $class in $classes { | |
| .#{$class} { | |
| z-index: $i; | |
| $i: $i + 10; | |
| } | |
| } | |
| } | |
| @include stack-classes( | |
| adam | |
| john | |
| wynn | |
| mason | |
| kuroir | |
| ); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
🤘 ⭐ 🤘