I can't seem to find a way to convert the repeat-linear-gradient
to a base64 image format.
background-image: repeating-linear-gradient(-45deg, transparent, transparent 5px, white 5px, white 10px);
My problem is I want to print an HTML page with html2canvas
and jsPDF
but since html2canvas
doesn't support support repeat-linear-gradient
, I would like to know if there is a way to convert the value to base64.
Also, since the background image is rendered by the gantt-chart
library, I can't change how it is set