我尝试使用我尝试过的方式在javascript中旋转图像new Image():
new Image()
this.gunner = new Image() this.gunner.src = *url* this.gunner.style.WebkitTransform = "rotate(20deg)"
但图像仍然像正常一样.
我怎样才能做到这一点?
html javascript css image rotation
css ×1
html ×1
image ×1
javascript ×1
rotation ×1