From: Martijn Cuppens Date: Thu, 2 May 2019 08:03:28 +0000 (+0200) Subject: Improve progress-bar-stripes animation (#28697) X-Git-Tag: v5.0.0-alpha1~1131 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b327c34ce3d452f3e64b2f619063f4f883f389e3;p=thirdparty%2Fbootstrap.git 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` --- 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; } } }