CSS: Text-width based quadrilateral button

80 Views Asked by At

I wanted to make these quadrilateral shape buttons with css: http://grab.by/I3Ku

So far, I could make a trapezium that is text based and has a hover effect. No I want the same but the top and bottom line has to be an oblique line. Can Someone help me out how I need to do this?

Codepen: http://goo.gl/RWZAuh

1

There are 1 best solutions below

0
On

Try using a image or SVG as div background. Easier and more flexible that CSS based shapes