Hi, I am creating an animation for my box, and everyone is working in chrome. But it does not work in firefox. I'm trying to use -moz- but again nothing.
CSS for the animation I'm using:
@-webkit-keyframes pulse {
from {
-webkit-transform: scale(1.0);
opacity: 0.75;
}
50% {
-webkit-transform: scale(1.2);
opacity: 1.0;
}
to {
-webkit-transform: scale(1.0);
opacity: 0.75;
}
}
div.pulse { opacity: 0.75; }
div.pulse:hover {
-moz-animation-name: pulse;
-moz-animation-duration: 0.5s;
-moz-animation-iteration-count: 1;
-webkit-animation-name: pulse;
-webkit-animation-duration: 0.5s;
-webkit-animation-iteration-count: 1;
}
Can anyone tell me what I'm doing wrong? Does it work in the brain?
source
share