mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 19:57:45 +03:00
Base: Add an example -webkit-linear-gradient()
This commit is contained in:
parent
ca2e345cdc
commit
6dd854faec
Notes:
sideshowbarker
2024-07-17 08:23:31 +09:00
Author: https://github.com/MacDue Commit: https://github.com/SerenityOS/serenity/commit/6dd854faec Pull-request: https://github.com/SerenityOS/serenity/pull/14795
@ -91,6 +91,10 @@
|
||||
.grad-14 {
|
||||
background-image: linear-gradient(to bottom right, indigo, white, deeppink);
|
||||
}
|
||||
|
||||
.grad-webkit {
|
||||
background-image: -webkit-linear-gradient(top right, yellow, black, yellow, black);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@ -116,6 +120,8 @@
|
||||
<div class="rect grad-12"></div>
|
||||
<div class="rect grad-13"></div>
|
||||
<div class="rect grad-14"></div>
|
||||
<b>A webkit gradient</b><br>
|
||||
<div class="box grad-webkit"></div>
|
||||
</body>
|
||||
<script>
|
||||
const boxes = document.querySelectorAll(".box, .rect");
|
||||
|
Loading…
Reference in New Issue
Block a user