Skip to content

Instantly share code, notes, and snippets.

@nongio-zz
Created October 6, 2015 10:19
Show Gist options
  • Save nongio-zz/dd464d527b4a9ba03b8a to your computer and use it in GitHub Desktop.
Save nongio-zz/dd464d527b4a9ba03b8a to your computer and use it in GitHub Desktop.
$z-index: (
modal : 200,
navigation : 100,
footer : 90
);
@mixin z-index($key, $level: 0) {
z-index: map-get($z-index, $key) + $level;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment