mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-15 11:59:39 +03: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:
committed by
XhmikosR
parent
336778f463
commit
b327c34ce3
+1
-2
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user