Home › Forums › CSS › Flexible triangles using borders? › Re: Flexible triangles using borders?
November 25, 2012 at 4:04 am
#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?