Html
    Css
    Js

    
                        
body {
	margin:0;
	padding:0;
	background-color:#eee;
}
canvas {
	margin:50px auto 0;
	display:block;
}
#clear {
	display:block;
	width:80px;
	height:40px;
	line-height:40px;
	text-align:center;
	border:1px solid #eee;
	background-color:#fff;
	border-radius:5px;
	margin:20px auto;
	cursor:pointer;
}

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

canvas写字板

0