How do I put a shape on an angle? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do I put a shape on an angle?

Please write the coding down in HTML. Thank you.

19th Jan 2017, 3:28 PM
RoYal
5 Answers
+ 2
You mean rotate a shape of a specific angle? And what call you 'shape'? An html element, an svg element? For rotation of an html element, you should look at css attributes 'transformation'... For rotation of an svg element you should look at svg transformations ( don't have the reference in head, but it's basic features of svg ) Well, and you wrote: "write the coding down in HTML" but have taged 'javascript' ^^
19th Jan 2017, 5:20 PM
visph
visph - avatar
19th Jan 2017, 8:20 PM
visph
visph - avatar
+ 1
Thanks for "helping" me, I appreciate it.
19th Jan 2017, 6:02 PM
RoYal
+ 1
Be more informative and/or specific in your question, and the answer will be too...
19th Jan 2017, 6:44 PM
visph
visph - avatar
+ 1
I want a shape to be on a reflex angle.
19th Jan 2017, 7:47 PM
RoYal