css step function code example
Example: steps() property css
@keyframes clocksweep {
to {
transform: rotate(1turn);
}
}
#secondhand {
animation: clocksweep 60s steps(60) infinite;
}
@keyframes clocksweep {
to {
transform: rotate(1turn);
}
}
#secondhand {
animation: clocksweep 60s steps(60) infinite;
}