Skip to content

Instantly share code, notes, and snippets.

@rdpanek
Created April 22, 2020 12:37
Show Gist options
  • Select an option

  • Save rdpanek/74e88c1ed5d88c55f42510044e22f5d4 to your computer and use it in GitHub Desktop.

Select an option

Save rdpanek/74e88c1ed5d88c55f42510044e22f5d4 to your computer and use it in GitHub Desktop.

Revisions

  1. rdpanek renamed this gist Apr 22, 2020. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. rdpanek created this gist Apr 22, 2020.
    7 changes: 7 additions & 0 deletions zIndex detection
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    $.map($('body *'), function(e,n) {
    let zindex = $(e).css('z-index')
    if (zindex > 0) {
    console.log(zindex)
    console.log(e)
    }
    })