DEV Community

Discussion on: Make triangles with borders in CSS

Collapse
 
programmerbyday profile image
Arman @programmerByDay

So basically it's a square with one giant border and three transparent borders. Is that right?

Collapse
 
nazanin_ashrafi profile image
Nazanin Ashrafi

Well yeah something like that but we don't really need add 3 transparent borders, just 2 transparent borders do the job.
Adding extra invisible border would only take some more space