Forums

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

Home Forums Other Corner Tab – CSS Tricks Re: Corner Tab – CSS Tricks

#69467
clokey2k
Participant

He uses the CSS-Triangle trick, and uses ::before psuedo element to add, and rotate, to any ‘article’ or ‘.turned-corner’ elements.

It took me a while to work the triangle trick out. If after reading the article it doesn’t make sense imagine the triangles point being the centre of a box with no bottom border, a coloured border across the top, and 2 transparent borders on the left and right.