0

Timing in css

Is there a wait command in css? If there is, please tell me. (;

9th Sep 2018, 10:00 PM
Benjamin Fonville
Benjamin Fonville - avatar
2 Respostas
+ 2
If you need to wait before executing an animation, you could used the "animation-delay" attribute
9th Sep 2018, 11:15 PM
Dlite
Dlite - avatar
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); } }
10th Sep 2018, 8:08 PM
Benjamin Fonville
Benjamin Fonville - avatar