mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Improve progress-bar-stripes animation (#28697)
- `background-position: 0 0;` is the default background position, so redundant - The background position should only be animated in the x direction - `0%` is a little shorter than `from`
This commit is contained in:
parent
336778f463
commit
b327c34ce3
@ -1,8 +1,7 @@
|
||||
// Disable animation if transitions are disabled
|
||||
@if $enable-transitions {
|
||||
@keyframes progress-bar-stripes {
|
||||
from { background-position: $progress-height 0; }
|
||||
to { background-position: 0 0; }
|
||||
0% { background-position-x: $progress-height; }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user