Open Elyos59 opened 7 years ago
I finally use another lib 'dom-to-image' instead... it work fine https://github.com/tsayen/dom-to-image
After a few hours working on this there seems to be an alternative by using an svg Just put this is any manner into the the element you need the stripes in.
`
<line x1="0" y1="7" x2="100%" y2="7" stroke='#F3817F' strokeDasharray="8 4" /> <rect x="0%" y="0" width="100%" height="100%" fill="url(#pattern-checkers)" /> `
Hi!
Background is not rendered if iit's a repeating-linear-gradient ...
Any idea for that?
background: rgba(0, 0, 0, 0) repeating-linear-gradient(to right, rgb(255, 255, 255), rgb(255, 255, 255) 40px, rgb(255, 225, 35) 40px, rgb(255, 225, 35) 80px) repeat scroll 0% 0%;