z-Index 防止鼠标悬停?
http://scriptbase.com/scripts/viewer.php 圆底 div 应该是部分覆盖缩略图以达到美观效果。但问题是,它似乎阻止了这两个(控制框内和缩略图包装器内)的所有鼠标悬停。这里出了什么问题以及如何修复它?
http://scriptbase.com/scripts/viewer.php The rounded bottom div is supposed to partially cover the thumbnails for aesthetic effect. The problem, is, though, that it seems to prevent all mouseovers in those two (inside the control box and inside the thumbnails wrapper). What's going wrong here and how do I fix it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Z 索引是神秘的。在我看来,在“.thumbs”上设置负 z 索引就足够了。只需删除“.controls”上的 z-index 声明,它们就会恢复活力。 (您可能还想删除生成的上边框)。
Z-indexing is cryptic. Seems to me that setting the negative z-index on '.thumbs' is enough. Simply remove the z-index declaration on '.controls' and they come back to life. (You probably also want to remove the resulting top-border aswell).