body { width:100%; height:100vh; display:flex; justify-content:center; align-items:center; } #myCanvas { }
canvas画布的简单使用