为什么我的CSS3 Transition无法在Firefox中运行?

Ben*_*Ben 16 firefox css3

据我所知,它在网站的其他地方使用相同的CSS.它适用于Chrome.以下是整页:anthonyotislawrence.com

这是不起作用的部分:

<a class="socialBox linkedIn">
    <h3>LinkedIn</h3>
    <p>linkedin.com/anthonyotislawrence</p>
</a> 
<a class="socialBox facebook">
    <h3>Facebook</h3>
    <p>facebook.com/anthonyotislawrence</p>
</a>
Run Code Online (Sandbox Code Playgroud)

和CSS

.socialBox {
    display:block;
    min-width:200px;
    padding:4px 0 4px 55px;
    height:40px;
    line-height:20px;
    background-repeat:no-repeat;
    background-position:left center;
    position:relative;
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    transition: all .5s ease-out;
    text-decoration:none;
    margin:30px 0;
}
.socialBox.linkedIn {
    background-image:url(../images/linkedin.png);
}
.socialBox.facebook {
    background-image:url(../images/facebook.png);
}
.socialBox:hover {
    left:15px;
    cursor:pointer;
}
.socialBox:hover p {
    text-decoration:underline;
}
Run Code Online (Sandbox Code Playgroud)

Ben*_*Ben 41

看起来FF不会转换默认值.它们必须在原始元素上声明,然后才能转换为新属性.

  • 我正在做这个答案中的建议,但仍然没有豆子.我试图转换顶部和不透明度,它不是动画. (4认同)
  • 感谢上帝......你刚刚给我这么多时间.本,你是老板 (3认同)