Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 phonegap 项目,想将单个 div 或对象旋转 90 度。我已经尝试过 -webkit-transform: rotate(90deg); 到 div 对象,但没有任何反应。有没有办法旋转整个div?
编辑:忘记了“显示:块;”,现在它旋转但高度是最大宽度,宽度是最大高度......