Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
z-index が 1 未満のすべての要素を非表示にする jquery コードを作成しようとしています。どこから始めればよいか、まったくわかりません。
私はこのようにします:
$('body *').css('display', function() { // don't hide the head / body / html tag return this.style.zIndex > 0 ? this.style.display : 'none'; });