I’ve been using cssnano for compressing my CSS on some projects recently. Apparently, it rebases z-index values, ie reduces them to the minimum values that have the same stacking context within the file. If you have other stylesheets or JS involved, though, this can cause problems. I was very confused why whatever change I made to the number seemed to not be showing up. Per an issue on GitHub, it can be disabled by setting "zindex": false.

Published by


I am a quiet person from Northeast Ohio. I work as a web developer. I like computers, music, and many other things.

Leave a Reply

Your email address will not be published. Required fields are marked *