【发布时间】:2017-06-03 17:52:32
【问题描述】:
以下是我的代码的一部分。问题是如何去除 mozilla firefox 50.1.0
中蓝色圆框上的小白线.s{
animation: 2s ease-out 0s normal none infinite running r0;
background: #639dcf none repeat scroll 0 0;
border-radius: 50%;
cursor: pointer;
float: left;
height: 90px;
transition: all 0.2s ease 0s;
width: 90px;
margin: 200px;
}
@-webkit-keyframes r0 {
0% {
box-shadow: 0 0 8px 6px #639dcf, 0 0 0px 0px #639dcf;
}
10% {
box-shadow: 0 0 8px 6px #4f90c9, 0 0 12px 14px #4f90c9;
}
100% {
box-shadow: 0 0 8px 6px #639dcf, 0 0 0px 40px #639dcf;
}
}
@-moz-keyframes r0 {
0% {
box-shadow: 0 0 8px 6px #639dcf, 0 0 0px 0px #639dcf;
}
10% {
box-shadow: 0 0 8px 6px #4f90c9, 0 0 12px 14px #4f90c9;
}
100% {
box-shadow: 0 0 8px 6px #639dcf, 0 0 0px 40px #639dcf;
}
}
@keyframes r0 {
0% {
box-shadow: 0 0 8px 6px #639dcf, 0 0 0px 0px #639dcf;
}
10% {
box-shadow: 0 0 8px 6px #4f90c9, 0 0 12px 14px #4f90c9;
}
100% {
box-shadow: 0 0 8px 6px #639dcf, 0 0 0px 40px #639dcf;
}
}
<div type="button" id="menuOrb" class="s m1 "></div>
【问题讨论】:
-
....边界在哪里?
-
代码中没有“白色”。
-
我没有为边框编码,但您仍然可以在蓝色圆框上看到一条细小的白线(如 Illusion)。你可以在sn-p
-
不是答案,但我希望您知道
box-shadow动画非常密集,从性能角度来看应尽可能避免。 -
它的 mozilla firefox 50.1.0 @Harry
标签: html css firefox css-animations mozilla