Files
ladybird/Tests/LibWeb/Ref/reference/inline-paintable-background-clip-text-ref.html
Aliaksandr Kalenik a044e9cf4f LibWeb: Add background-clip: text support for InlinePaintable
Moves background mask calculation into `paint_background()` that is
shared between PaintableBox and InlinePaintable.
2024-04-23 12:50:07 +02:00

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>