Is there any way to change the values of @keyframes (CSS) with jQuery
To make it a little bit more clear, I have this in my css file:
@keyframes bg {
50% { background: #3b99fcff; }
}
.pie::before {
content: '';
position: absolute;
top: 0; left: 50%;
width: 50%; height: 100%;
border-radius: 0 100% 100% 0 / 50%;
background-color: inherit;
transform-origin: left;
animation: spin 50s linear infinite,
bg 100s step-end infinite;
animation-play-state: paused;
animation-delay: inherit;
}
I would like to change the 'background' with Jquery