How can i rotate my image in an html? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How can i rotate my image in an html?

I'm trying to rotate my image to 90' but I'm unable to rotate it using rotate tag..so how can I rotate it, as I am a new user of HTML and also do not know much about CSS?

12th Jun 2017, 7:43 AM
Rocky
Rocky - avatar
3 Answers
12th Jun 2017, 8:20 AM
Calviղ
Calviղ - avatar
+ 4
In CSS, you can put this... img { transform: rotate(90deg); }
12th Jun 2017, 8:11 AM
Calviղ
Calviղ - avatar
+ 3
can you give me a code regarding this issue please, it will be very helpful.i want to see a demo.
12th Jun 2017, 8:13 AM
Rocky
Rocky - avatar