mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
Base: Add some repeating-conic-gradient()
test cases
This commit is contained in:
parent
7e21fe61b4
commit
d5cf403f70
Notes:
sideshowbarker
2024-07-17 06:40:21 +09:00
Author: https://github.com/MacDue Commit: https://github.com/SerenityOS/serenity/commit/d5cf403f70 Pull-request: https://github.com/SerenityOS/serenity/pull/15960 Reviewed-by: https://github.com/AtkinsSJ ✅
1 changed files with 20 additions and 0 deletions
|
@ -165,6 +165,23 @@
|
|||
.grad-conic-6 {
|
||||
background-image: conic-gradient(red 0deg, red 90deg, yellow 90deg, yellow 180deg, green 180deg, green 270deg, blue 270deg);
|
||||
}
|
||||
|
||||
.grad-conic-repeat-1 {
|
||||
background-image: repeating-conic-gradient(
|
||||
red 0%,
|
||||
yellow 15%,
|
||||
red 33%
|
||||
);
|
||||
}
|
||||
|
||||
.grad-conic-repeat-2 {
|
||||
background-image: repeating-conic-gradient(
|
||||
from 45deg at 10% 50%,
|
||||
brown 0deg 10deg,
|
||||
darkgoldenrod 10deg 20deg,
|
||||
chocolate 20deg 30deg
|
||||
);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -212,6 +229,9 @@
|
|||
<div class="box grad-conic-4"></div>
|
||||
<div class="box grad-conic-5"></div>
|
||||
<div class="box grad-conic-6"></div>
|
||||
<b>Repeating conic gradients</b><br>
|
||||
<div class="box grad-conic-repeat-1"></div>
|
||||
<div class="box grad-conic-repeat-2"></div>
|
||||
</body>
|
||||
<script>
|
||||
const boxes = document.querySelectorAll(".box, .rect");
|
||||
|
|
Loading…
Reference in a new issue