Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Flexible triangles using borders? Re: Flexible triangles using borders?

#115401
Paulie_D
Member

It doesn’t work because the width of the li is not fixed and so you can’t set a top/bottom border width for the pseudo element either.

A pseudo element would be the way to go but it will need a background image of some kind….one that scales appropriate to the size of the element.

Perhaps playing with background-size?