我有一个导航栏,它贯穿我的页面底部我正在使用指针事件,所以允许用户点击导航栏,但我有链接的图像现在不起作用,因为有一个指针事件:无;。
如何在我的页脚中允许指针事件而不是页脚本身?
#footer {
position:fixed;
left:0px;
bottom:0px;
height:80px;
width:100%;
padding-top: 0px;
background-position: top !important;
pointer-events:none;
}
答案 0 :(得分:4)
#footer a {
pointer-events: auto;
}