- 1.基于 html2canvas V1.4.1 修改
- 2.添加对css属性的支持:
mix-blend-mode & -webkit-mask-box-image
=========== 事实上使用原生canvas 也无法达到我希望的效果,例子在example中
You can download ready builds here.
Clone git repository:
$ git clone git://github.com/niklasvh/html2canvas.git
Install dependencies:
$ npm install
Build browser bundle
$ npm run build
For more information and examples, please visit the homepage or try the test console.
If you wish to contribute to the project, please send the pull requests to the develop branch. Before submitting any changes, try and test that the changes work with all the support browsers. If some CSS property isn't supported or is incomplete, please create appropriate tests for it as well before submitting any code changes.