We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Look .container css annotation
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta http-equiv="X-UA-Compatible" content="ie=edge" /> <title>Document</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; } .container { background-color: aquamarine; width: 200px; height: 200px; /* If container above this overflow style, child element opacity failure */ overflow: hidden; } .opacity { opacity: 0.3; } </style> </head> <body> <div class="container"> <div class="opacity">text</div> <div class="opacity"> longtextlongtextlongtextlongtextlongtextlongtextlongtextlongtext </div> </div> </body> <script src="http://html2canvas.hertzen.com/dist/html2canvas.min.js"></script> <script> let target = document.querySelector(".container"); html2canvas(target, {}).then((canvas) => { document.body.appendChild(canvas); }); </script> </html>
The text was updated successfully, but these errors were encountered:
fix niklasvh#2299 and niklasvh#2296
809476f
a38de5f
Successfully merging a pull request may close this issue.
Look .container css annotation
The text was updated successfully, but these errors were encountered: