From be9d3f9aa4ac52a4d9c5dec1c3ea7977087004ee Mon Sep 17 00:00:00 2001 From: MacDue Date: Mon, 22 Aug 2022 21:50:26 +0100 Subject: [PATCH] Base: Add an example `linear-gradient` with double-position color stops --- Base/res/html/misc/gradients.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Base/res/html/misc/gradients.html b/Base/res/html/misc/gradients.html index 54fc1af1b0..0184232d29 100644 --- a/Base/res/html/misc/gradients.html +++ b/Base/res/html/misc/gradients.html @@ -135,6 +135,10 @@ .grad-repeat-3 { background-image: -webkit-repeating-linear-gradient(left, red 10%, blue 30%); } + + .grad-double-position { + background-image: linear-gradient(to right,red 20%, orange 20% 40%, yellow 40% 60%, green 60% 80%, blue 80%) + } @@ -173,6 +177,8 @@
+ Double-position color stops
+