HTML元素旋转

 

style="transform: rotate(270deg)"

 

var eles = document.getElementsByTagName("video"); for (i=0;i<eles.length;i++) eles[i].style.transform="rotate(270deg)";

 


https://www.runoob.com/jsref/prop-style-transform.html

https://c.runoob.com/codedemo/1069/

posted @ 2022-11-11 01:22  冬音  阅读(156)  评论(0编辑  收藏  举报