mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-22 02:26:11 +00:00
![Aliaksandr Kalenik](/assets/img/avatar_default.png)
Moves background mask calculation into `paint_background()` that is shared between PaintableBox and InlinePaintable.
12 lines
284 B
HTML
12 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>
|