Hi I am trying to animate my logo with CSS3 but I want it to be animated after a few secs so I am using the animation-delay
property. It works perfectly fine on Chrome but in Firefox it does delay the animation, but the position it takes is the ending position of animation and then after the delay the animation starts.
HTML
<div class="logo"></div>
CSS
.logo {
position: absolute;
width: 100px;
height: 100px;
background: red;
transform: translate(25px,500px);
-webkit-animation: logo 3s 1;
-moz-animation: logo 3s 1;
-webkit-animation-delay: 3s;
-moz-animation-delay: 3s;
}
@-webkit-keyframes logo{
0% {
transform: translate(80px, 200px);
}
100% {
transform: translate(25px, 500px);
}
}
@keyframes logo{
0% {
transform: translate(80px, 200px);
}
100% {
transform: translate(25px, 500px);
}
}
Also this is the fiddle link here