0

Please can someone explain how creating triangles in CSS works??...it's really confusing

CSS Traingles

25th Mar 2022, 10:56 AM
Mbah Chris
Mbah Chris - avatar
1 Resposta
+ 1
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> .triangle-up { width: 0; height: 0; border-left: 25px solid transparent; border-right: 25px solid transparent; border-bottom: 50px solid #555; } </style> </head> <body> <div class="triangle-up"></div> </body> </html>
25th Mar 2022, 11:09 AM
Amir javadikia
Amir javadikia - avatar