Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Image filled even div set to object-fit: cover; #1064
Hello, just to let you know that I needed this and hacked it to work in my project. I provide the code which works for me below. However this is a hack, I don't have the knowledge to integrate this into your project in a more proper way:
Take LanderBeeuwsaert's solution (by downloading html2canvas.js so you can edit its code like they did) and replace
That should get you your desired results. It worked for me, at least.