0
How to create a triangle animate in html (css)
Step by step
2 Answers
+ 1
it's not clear. and show your attempt. use relevant tags.
hint: look after in this discussion for similar posts/questions, and there you can find a code....
0
Nitya Gunjan , you can use SVG to create triangles in HTML, and many other geometric shapes as well.
You can use the <polygon> element to define the three coordinate points of the triangle within an <svg> container. This will not only help you create a triangle, but also control its direction and size.
You may refer to the following code. I'm afraid it is not commented properly, but you can see the code by clicking on a triangle.
Feel free to ask me for further clarification.
https://sololearn.com/compiler-playground/W8d61oudSdNT/?ref=app