Forums

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

Home Forums CSS Please help me achieve this. (Border/Skew) Reply To: Please help me achieve this. (Border/Skew)

#240148
Paulie_D
Member

There’s a couple of ways to do that.

The first requires that the element have a child which will hold the text.

Once the parent is skewed, the child is skewed back the same amount:

http://codepen.io/Paulie-D/pen/eZGLGW

The second uses the triangle border technique on a couple of pseudo-elements…it’s up to you which you choose.