From b327c34ce3d452f3e64b2f619063f4f883f389e3 Mon Sep 17 00:00:00 2001 From: Martijn Cuppens Date: Thu, 2 May 2019 10:03:28 +0200 Subject: [PATCH] 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` --- scss/_progress.scss | 3 +-- 1 file changed, 1 insertion(+), 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; } } }