-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gradient color not properly exported #448
Comments
@stevdza-san 渐变色的样式写在内层元素gradientContent身上,即不要直接写在ID元素上 |
Hi @wsl0520, that did not work for me. Created an inner element with the gradient styles and still the exported image is in a solid color. Do you have any other ideas on how to fix this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First I want to say thank you for making this library, it's quite useful. :)
I've experience a strange result while trying to export an element colored in gradient(two colors). The image that I've exported is not the same as the one I have on my page. The exported one, looks like a single color, and not two color gradient. I'm using FileSaver lib for image exporting btw.
Element on my website:
Exported Image:
The text was updated successfully, but these errors were encountered: