
``
html,,,,, .tank {, position: relative;, width: 100px;, height: 50px;, backgroundcolor: green;, borderradius: 10px;, }, .turret {, position: absolute;, top: 20px;, left: 40px;, width: 20px;, height: 40px;, backgroundcolor: gray;, },,,,,,,,,,,``
HTML5绘制坦克形状
要使用HTML5来绘制一个坦克的形状,我们可以利用`