mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-29 16:21:29 +00:00
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.
This commit is contained in:
parent
79a5a1c209
commit
613feb1854
Notes:
sideshowbarker
2024-07-17 08:36:27 +09:00
Author: https://github.com/MacDue Commit: https://github.com/SerenityOS/serenity/commit/613feb1854 Pull-request: https://github.com/SerenityOS/serenity/pull/14810
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue