CSS: Text-width based quadrilateral button

89 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 answers

0
aadarshsg On

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