Support for new 'background-clip' value 'text'
I'm trying to create text with a color gradient by setting the 'background-clip' CSS property to 'text' as described below: https://developer.mozilla.org/en-US/docs/Web/CSS/background-clip
WeasyPrint does not recognize 'text' as a valid value for 'background-clip':
Here is example HTML/CSS creating the desired effect in a sandbox:
.text-red-blue-gradient { font-size: 80px; background: linear-gradient(to right, red, blue); background-clip: text; color: transparent; }
Will WeasyPrint support the new spec for the 'background-clip' property in the future?
Thanks!
Hi!
Will WeasyPrint support the new spec for the 'background-clip' property in the future?
That would be a good idea! This value has been added in Background Level 4, with border-area.