mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
restore spinner animation
This commit is contained in:
@@ -8,7 +8,7 @@ export default css`
|
||||
--track-width: 2px;
|
||||
--track-color: rgb(128 128 128 / 25%);
|
||||
--indicator-color: var(--sl-color-primary-600);
|
||||
--speed: 800ms;
|
||||
--speed: 2s;
|
||||
|
||||
display: inline-flex;
|
||||
width: 1em;
|
||||
@@ -47,10 +47,17 @@ export default css`
|
||||
@keyframes spin {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
stroke-dasharray: 0.01em, 2.75em;
|
||||
}
|
||||
|
||||
50% {
|
||||
transform: rotate(450deg);
|
||||
stroke-dasharray: 1.375em, 1.375em;
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
transform: rotate(1080deg);
|
||||
stroke-dasharray: 0.01em, 2.75em;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user