所以我使用CSS创建了这些脉动的社交媒体按钮。 经过几次脉动之后,您可以看到instagram图标右侧有一个小红线。任何想法是什么导致这一点,以及如何删除它?在CSS中激发社交媒体按钮
https://jsfiddle.net/pm9hkyy8/2/
段:
@keyframes pulser {
from {
color: rgba(0, 0, 0, 0.2);
}
to {
color: rgba(255, 255, 255, 1);
}
}
#footer a {
color: #999;
color: rgba(185, 186, 187, 0.5);
animation-name: pulser;
animation-duration: 2s;
animation-iteration-count: infinite;
animation-direction: alternate;
animation-timing-function: ease-in-out;
}
/* Stopping the pulsation on hover for that particular child */
a:hover {
color: #bbb;
color: #b9babb;
animation-name: pulser;
animation-duration: 2s;
animation-iteration-count: 0;
animation-direction: alternate;
animation-timing-function: ease-in-out;
}
而且,随意使用此代码,并改善它:)
截图:http://puu.sh/qJBkj/d3701d834e.png
没有看到这个bug。 firefox 48 –
在Chrome中没有真正看到它......但是您可能想要将“outline:none;”添加到锚CSS。它与“文字修饰”相结合,消除了悬停事件的默认浏览器样式。一些浏览器大纲以及装饰。好的脉冲顺便说一下。 – Scott
在哪里使用红色的颜色? –