Html
    Css
    Js

    
                        
* {
	margin:0px;
	padding:0px;
}
.yangs {
	border:2px solid black;
	width:250px;
	height:60px;
	font-size:40px;
	line-height:60x;
	text-align:center;
	position:relative;
	user-select:none;
	//文字不被选中;
}
canvas {
	position:absolute;
	left:0;
	top:0;
}

                        
↑上面代码改变,会自动显示代码结果 jQuery调用版本:2.1.4
 立即下载

简单的canvas刮刮乐代码

更新时间:2021-06-17 13:57:30

0