mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
a044e9cf4f
Moves background mask calculation into `paint_background()` that is shared between PaintableBox and InlinePaintable.
11 lines
284 B
HTML
11 lines
284 B
HTML
<!DOCTYPE html>
|
|
<link rel="match" href="reference/inline-paintable-background-clip-text-ref.html" />
|
|
<style>
|
|
#text {
|
|
background: linear-gradient(#6d98cc, #8a64e5);
|
|
background-clip: text;
|
|
color: transparent;
|
|
font-size: 50px;
|
|
}
|
|
</style>
|
|
<span id="text">Hello</span>
|