Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我下载了这个名为 addthis 的插件:https ://www.addthis.com/并将其安装在我的网站上。问题就在这里,当我将鼠标悬停在一个按钮上时,它会移到一边。这是不正常的,我给它的唯一样式是布局而不是任何悬停样式。
它在你的 style.css 中
a:hover { width: 78px; height: 50px; }
这就是给你带来问题的原因。GL!
在您的style.css文件中,您已将a:hover宽度设置为 78px。摆脱它,你会很高兴的。
style.css
a:hover