Created
April 22, 2020 12:37
-
-
Save rdpanek/74e88c1ed5d88c55f42510044e22f5d4 to your computer and use it in GitHub Desktop.
zIndex detection
This file contains hidden or 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
$.map($('body *'), function(e,n) { | |
let zindex = $(e).css('z-index') | |
if (zindex > 0) { | |
console.log(zindex) | |
console.log(e) | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment