mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 19:29:16 +00:00
Moves background mask calculation into `paint_background()` that is shared between PaintableBox and InlinePaintable.
11 lines
197 B
HTML
11 lines
197 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
#text {
|
|
background: linear-gradient(#6d98cc, #8a64e5);
|
|
background-clip: text;
|
|
color: transparent;
|
|
font-size: 50px;
|
|
}
|
|
</style>
|
|
<div id="text">Hello</div>
|