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:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user