jQuery-visible

作者: 不睡觉呀 | 来源:发表于2018-03-26 20:14 被阅读0次

匹配所有在页面中占用空间的元素

  1. 当display:none的时候不会匹配
  2. 当height、width为0的时候不会匹配

能够匹配的情况:

  • visibility:hidden;属于隐藏但仍然占用空间。
  • 其他在页面中占用空间的情况。

相关文章

  • jQuery-visible

    匹配所有在页面中占用空间的元素 当display:none的时候不会匹配 当height、width为0的时候不会...

网友评论

    本文标题:jQuery-visible

    本文链接:https://www.haomeiwen.com/subject/jmqdcftx.html