From 613feb1854e3409feb02ecdd3e7daa9cc144f2b6 Mon Sep 17 00:00:00 2001 From: MacDue Date: Tue, 9 Aug 2022 01:05:46 +0100 Subject: [PATCH] Base: Replace linear-gradient() pattern demo with cooler one The previous demo didn't work that well, not due to any LibWeb issue (same in other browsers), it just was a broken demo. This demo shows the neat tricks you can do with linear-gradient()s much better. --- Base/res/html/misc/gradients.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Base/res/html/misc/gradients.html b/Base/res/html/misc/gradients.html index 5a6908430b..c54747437b 100644 --- a/Base/res/html/misc/gradients.html +++ b/Base/res/html/misc/gradients.html @@ -66,10 +66,12 @@ } .grad-9 { - background: linear-gradient(135deg, #333 25%, transparent 25%) -50px 0, - linear-gradient(225deg, #333 25%, transparent 25%) -50px 0, - linear-gradient(315deg, #333 25%, transparent 25%), - linear-gradient(45deg, #333 25%, transparent 25%); + background: linear-gradient(135deg, #f2f2f2 25%, transparent 25%) -20px 0, + linear-gradient(225deg, #f2f2f2 25%, transparent 25%) -20px 0, + linear-gradient(315deg, #f2f2f2 25%, transparent 25%), + linear-gradient(45deg, #f2f2f2 25%, transparent 25%); + background-size: 40px 40px; + background-color: #50e3c2; } .grad-10 {