filicaliva Asked:2020-07-17 00:16:05 +0000 UTC2020-07-17 00:16:05 +0000 UTC 2020-07-17 00:16:05 +0000 UTC Sass 如何放置 :not :hover 使其工作 [关闭] 772 &:hover:not(.social-links) background-color: black color: white sass 1 个回答 Voted Best Answer makcim512 2020-07-17T00:23:42Z2020-07-17T00:23:42Z &:not(.social-links):hover background-color: black color: white 如果元素类不是 .social-links,您还需要悬停 因此,我们排除 .social-links
如果元素类不是 .social-links,您还需要悬停
因此,我们排除 .social-links