Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorMartijn Cuppens <martijn.cuppens@gmail.com>2019-05-02 11:03:28 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-05-02 11:03:28 +0300
commitb327c34ce3d452f3e64b2f619063f4f883f389e3 (patch)
treed1cd8f597c577e3acc114e0f4b78184352fa6a8c /scss
parent336778f4639f6badfd0410c08933e59f25b8b74c (diff)
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`
Diffstat (limited to 'scss')
-rw-r--r--scss/_progress.scss3
1 files changed, 1 insertions, 2 deletions
diff --git a/scss/_progress.scss b/scss/_progress.scss
index 391081aa08..f9700240ae 100644
--- a/scss/_progress.scss
+++ b/scss/_progress.scss
@@ -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; }
}
}