Forum How do I...?

CSS gradient color

bastien
Hi,

I discover PrinceXML, trying to see the benefits I will have to use it instead another of great php pdf library.

I search in the forum and the user guide but don't anything about the support of the gradient color in css. I already use this feature with the current library I use and don't want to loose it if I pivot to PrinceXML.

Is there a way to support gradient css with PrinceXML ?

Thanks by advance

Bastien
mikeday
Prince does not support CSS gradient backgrounds yet. We plan to add this to a future release. For now, we do support gradients in SVG.
bastien
Thanks Mike for the quick reply.

I can maybe use the SVG.

Bastien
mikeday
We have now released Prince 9, which does support CSS background gradients, and also multiple backgrounds per element and other new background properties.