Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Z-index mapping: Correctly place your variable in the correct position based on what it should appear above and behind.
- // Example usage: z-index: z(header);
- $z-list: (
- highest,
- lowest
- );
- @function z($var) {
- @return length($z-list) - index($z-list, $var) + 2;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement