0

how to rotate a thing about 90 degrees

3rd Aug 2017, 10:59 AM
Aniket
2 Answers
+ 6
transform:rotate(90deg); ... but you probably need to also control the rotation origin: transform-origin:left top; [edit] And better practice to use vendor prefix also (at least -webkit-) ^^
3rd Aug 2017, 11:07 AM
visph
visph - avatar
+ 1
thanks visph
3rd Aug 2017, 11:13 AM
Aniket