summaryrefslogtreecommitdiff
path: root/Base/res/html
diff options
context:
space:
mode:
authorMacDue <macdue@dueutil.tech>2022-08-09 01:05:46 +0100
committerTim Flynn <trflynn89@pm.me>2022-08-08 21:56:08 -0400
commit613feb1854e3409feb02ecdd3e7daa9cc144f2b6 (patch)
tree3782ec03291658a5be00339c6cca85a9b616152a /Base/res/html
parent79a5a1c209ef98e128f2aac40511fa46315a0705 (diff)
downloadserenity-613feb1854e3409feb02ecdd3e7daa9cc144f2b6.zip
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.
Diffstat (limited to 'Base/res/html')
-rw-r--r--Base/res/html/misc/gradients.html10
1 files 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 {