1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-13 17:14:04 +02:00

spinners: use the animation shorthand property.

This commit is contained in:
XhmikosR
2018-09-14 08:52:25 +03:00
parent 52a86cc671
commit e9d67982ae

View File

@@ -17,10 +17,7 @@
border: $spinner-border-width solid; border: $spinner-border-width solid;
border-color: currentColor transparent currentColor currentColor; border-color: currentColor transparent currentColor currentColor;
border-radius: 50%; border-radius: 50%;
animation-name: spinner-border; animation: spinner-border .75s linear infinite;
animation-duration: .75s;
animation-timing-function: linear;
animation-iteration-count: infinite;
} }
.spinner-border-sm { .spinner-border-sm {
@@ -57,10 +54,7 @@
vertical-align: text-bottom; vertical-align: text-bottom;
background-color: currentColor; background-color: currentColor;
border-radius: 50%; border-radius: 50%;
animation-name: spinner-grow; animation: spinner-grow .75s linear infinite;
animation-duration: .75s;
animation-timing-function: linear;
animation-iteration-count: infinite;
} }
.spinner-grow-sm { .spinner-grow-sm {