Tuesday, September 3, 2013

How to Make Trapezoid Shape Using CSS

Here full css code to make trapezoid shape using only css code.


#trapezoid {
border-bottom: 100px solid red;
border-left: 50px solid transparent;
border-right: 50px solid transparent;
height: 0;
width: 100px;
}

Result:


How to Make Trapezoid Shape Using CSS

Disqus Comments