Skip to content

Commit e9d6798

Browse files
committed
spinners: use the animation shorthand property.
1 parent 52a86cc commit e9d6798

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

scss/_spinners.scss

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@
1717
border: $spinner-border-width solid;
1818
border-color: currentColor transparent currentColor currentColor;
1919
border-radius: 50%;
20-
animation-name: spinner-border;
21-
animation-duration: .75s;
22-
animation-timing-function: linear;
23-
animation-iteration-count: infinite;
20+
animation: spinner-border .75s linear infinite;
2421
}
2522

2623
.spinner-border-sm {
@@ -57,10 +54,7 @@
5754
vertical-align: text-bottom;
5855
background-color: currentColor;
5956
border-radius: 50%;
60-
animation-name: spinner-grow;
61-
animation-duration: .75s;
62-
animation-timing-function: linear;
63-
animation-iteration-count: infinite;
57+
animation: spinner-grow .75s linear infinite;
6458
}
6559

6660
.spinner-grow-sm {

0 commit comments

Comments
 (0)