Created
March 23, 2017 15:42
-
-
Save ahaywood/dbcbbb03a91a187bb6683671b2346a06 to your computer and use it in GitHub Desktop.
z-index with Sass maps
This file contains 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
.something { | |
z-index: map-get($zindex, change-your-world); | |
} |
This file contains 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
$zindex: ( | |
subnav : 9003, | |
search-bar-icon : 9002, | |
search-bar : 9001, | |
mega-menu : 9000, | |
featured-box-cta : 8999, | |
testimonial-content : 401, | |
testimonial-image : 400, | |
change-your-world : 200 | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment