Css 指针事件允许在某些项目上运行

Css 指针事件允许在某些项目上运行,css,Css,我的页面底部有一个导航栏,我使用的是指针事件,因此允许用户点击导航栏,但我有一些带有链接的图像,现在无法使用,因为有一个指针事件:none 如何在页脚中的图像上允许指针事件,而不是页脚本身 #footer { position:fixed; left:0px; bottom:0px; height:80px; width:100%; padding-top: 0px; background-position: top !important;

我的页面底部有一个导航栏,我使用的是指针事件,因此允许用户点击导航栏,但我有一些带有链接的图像,现在无法使用,因为有一个指针事件:none

如何在页脚中的图像上允许指针事件,而不是页脚本身

#footer {
    position:fixed;
    left:0px;
    bottom:0px;
    height:80px;
    width:100%;
    padding-top: 0px;
    background-position: top !important;
     pointer-events:none;

}
#footer a {
  pointer-events:  auto;
}