Use animation-iteration-count: infinite to keep animations running.
Example:
.loader {
animation: spin 1s linear infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
Practice Task:
Create a rotating loader icon.
Use animation-iteration-count: infinite to keep animations running.
Example:
.loader {
animation: spin 1s linear infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
Practice Task:
Create a rotating loader icon.
Leave a Reply