This repository has been archived by the owner on Oct 2, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Add z-index tool #13
Comments
I also stumbled across the following approach when reading this. // z-index.scss
$z-index:
$header,
$side-nav,
$chat-window,
$drop-down-menu,
$full-screen-modal;
// Usage:
// z-index: index($z-index, nameOfKey);
// sidenav.scss or whatever
.side-nav {
position: relative;
z-index: index($z-index, side-nav);
}
Thoughts? That article also mentions |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: