0
Timing in css
Is there a wait command in css? If there is, please tell me. (;
2 Respuestas
+ 2
If you need to wait before executing an animation, you could used the "animation-delay" attribute
0
Thanks! but how would I use it in this code:
.r {
height: 30px;
width: 30px;
background-color = red
animation: spin 1s infinate;
}
@keyframes spin {
50 {
transform: rotate(360deg);
}
}
.r2 {
height: 30px;
width: 30px;
background-color = red
animation: spin2 1s infinate;
}
@keyframes spin2 {
50 {
transform: rotate(360deg);
}
}