how can i rotate an img | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how can i rotate an img

i inserted an image, but it is 90° rotated

29th Jun 2016, 1:11 AM
Jose
4 Answers
+ 1
it is compliqué
29th Jun 2016, 12:02 PM
sagir
sagir - avatar
+ 1
Reccomended for you to edit the picture -.-
7th Jul 2016, 8:54 AM
Lim Jin Kai
Lim Jin Kai - avatar
0
add to this element id np. id="pic". Next create element <style></style> into a head seo. Then element style should Look like this <head> <style> #pic { /* img id */ -webkit- translate: rotate(Xdeg); /* do not write Xdeg in this place write how more you need * + "deg" np -90deg translate: rotate(value what you write first time); /* np. 90deg </style> </head> This code is written in CSS. Try to learn it.
29th Jun 2016, 6:43 AM
Daniel
Daniel - avatar
0
thank you for the response.
29th Jun 2016, 11:41 AM
Jose