* { margin:0; padding:0; } #canvas { position:absolute; left:0; right:0; top:0; bottom:0; margin:auto; } #settings { width:300px; display:flex; flex-direction:column; gap:30px; } .setting { width:100%; height:30px; display:flex; gap:10px; } .setting input { width:100px; }
更新时间:2021-05-31 00:44:46
用canvas实现的可调整画板颜色,大小,画笔颜色,大小。右键可将画板保存为图片