+ 1
How to create a triangle in html and css?I would like to have 3 layers in the triangle.
I would like to create a triangle and write some descriptions outside and beside the triangle.
5 ответов
+ 3
https://code.sololearn.com/WuZpNv9lJEt7/?ref=app
xqqjohn you should comment unindented css properties in css tab to hide construction elments (I've let them visible to better see how to do ;))
[ edit ]
Code updated to add interactive switch button between show/hide construction elements (always pure Html/Css)...
Default view now hidden ^^
0
Why have you mentioned JavaScript and jQuery in tags then? You can use svg for that
0
I forgot what to write so I just simply write some of them.HEHE
0
What kind of 2d pyramid? Did you mean a triangle? of what kind? isosceles, equilateral, ...?
0
isosceles will do