Skip to content
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

html2canvas doesn't render some css properties #1994

Closed
amans199 opened this issue Sep 5, 2019 · 1 comment
Closed

html2canvas doesn't render some css properties #1994

amans199 opened this issue Sep 5, 2019 · 1 comment

Comments

@amans199
Copy link

amans199 commented Sep 5, 2019

i am using the script i have downloaded from your site https://html2canvas.hertzen.com

Bug reports:

hey guys,,
i have a problem with html2canvas ..
it deosn't render the borders nor the background colors ... that is my code ..

$(".btn_for_print_out").on("click" , function(){
window.scrollTo(0,0);
html2canvas(document.querySelector("#capture")).then(function(canvas) {
canvas.toBlob(function(blob) {
window.saveAs(blob, "my_Corsorr_CV.png");
});
});
})

it doesn't read those css properties :: border-bottom / background-color / text-transform
although it reads the rest of css just fine!!!!!!!!!!!

Specifications:

  • Browser & version: Chrome last version
@niklasvh
Copy link
Owner

Supported CSS properties http://html2canvas.hertzen.com/features

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants