I have a little problem with css. I need a trapezoidal div whose upper left corner (angle with an angle above 90 degrees) is rounded. I already know what this is:
HTML:
<div style="margin:30px"> <div class="trapezoid"> </div> </div>
CSS
.trapezoid{ vertical-align: middle; border-bottom: 31px solid red; border-left: 25px solid transparent; height: 0; width: 150px; }
creates a trapezoid. I tried the border-top-left-radius property, however the effect is not enough.
Here's the jsfiddle with the code above, well, squeak with http://jsfiddle.net/n3TLP/5/
I need more information, just comments.
Thanks in advance:)
source share