感谢您的支持,我会继续努力的!
打开微信扫一扫,即可进行扫码打赏哦
点我查看本站打赏源码!
Powered by RUNCODEX.COM,学的不仅是技术,更是梦想!!!
<div style="position:absolute;bottom:20%;left:5%;width:90%;overflow:scroll;">
<canvas id="myCanvas" width="1320px" height="400px" style="border:1px solid #d3d3d3;background:lightblue;"></canvas>
</div>
xxxxxxxxxx
window.onload = function(){
var can = document.getElementById('myCanvas');
var pro = can.innerHTML.substring(0,can.innerHTML.length-1);
console.log(pro);
var cxt = can.getContext('2d');
}
输入 CSS 代码……