Below you can see the keyframes. It's a gradient that is supposed to simulate an explosion. When the animation plays it doesn't fade into the next keyframe. It just instantly changes to the next keyframe. I've tried certain transition properties on the regarding class, nothing i've tried seems to work. I have tried some animation properties as well. They don't work either.
@keyframes Explosion {
0% {
}
20% {
background-image: radial-gradient(
rgba(255, 255, 255, 1) 10%,
rgba(246, 237, 0, 0) 20%,
rgba(250, 0, 0, 0) 60%
);
transform: scale(2);
}
40% {
background-image: radial-gradient(
rgba(255, 255, 255, 1) 10%,
rgba(246, 237, 0, 1) 20%,
rgba(250, 0, 0, 0.3) 60%
);
transform: scale(2);
}
60% {
background-image: radial-gradient(
rgba(255, 255, 255, 1) 10%,
rgba(246, 237, 0, 1) 20%,
rgba(250, 0, 0, 1) 60%
);
transform: scale(2);
}
100% {
background-image: radial-gradient(
rgba(255, 255, 255, 1) 60%,
rgba(246, 237, 0, 1) 65%,
rgba(250, 0, 0, 1) 70%
);
transform: scale(2.3);
}
}