简体   繁体   English

将鼠标悬停在圆角按钮的角上

[英]hover on corner of rounded corners button

I would like to capture the hover event on a corner of element with rounded corners, using jquery. 我想使用jquery在具有圆角的元素的一角捕获悬停事件。 currently the hover is active when the cursor is actually on the shape and not on the rectangle of the shape as I marked in the image below: 当前,当光标实际位于形状上而不是我在下图中标记的形状的矩形上时,悬停处于活动状态:

在此处输入图片说明

please help! 请帮忙!

I suggest you to make one more button with sizes of this rounded button but make it without rounded corners. 我建议您再制作一个带有此圆形按钮大小的按钮,但不要使用圆角。 Then place it above rounded, make it transparent and catch hover of this button 然后将其放置在圆角上方,使其透明并捕获该按钮的悬停

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM