jQuery .hover 其下有元素
请查看: JSFiddle 示例
我想要得到的是一个有效的悬停4 个方格中的每一个。例如,如果第一个蓝色方块悬停,并且我将鼠标稍微向右滚动,直到它进入绿色方块(位于悬停的蓝色方块下方),则绿色方块应该悬停。
希望有人可以帮忙!
please check out: JSFiddle Example
What I want to get is a working hover with every of the 4 squares. For example if the first blue square is hovered and I scroll the mouse a little bit to the right until it enters the green square (which is under the hovered blue square) the green square should get hovered.
Hope someone can help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试这个 jsFiddle 解决方案,其中我只更改了 JavaScript。
Try this jsFiddle solution in which I only changed the JavaScript.