DEV Community

[Comment from a deleted post]
Collapse
 
alvaromontoro profile image
Alvaro Montoro

clip-path or background-image are better ways of drawing a triangle in CSS now. They are simpler, more flexible, and allow for more customization.

For example:

Collapse
 
meetbhalodiya profile image
b-meet

thanks to let me know about😊. Before i wasn't knowing about clip-path property as is wasn't introduced in the course, but its there in w3schools and now i am on it to gain all the deep know about css and html from it😊😊