I have the following code:
#trapezoid {
border-bottom: 150px solid red;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
height: 0;
width: 30px;
}
<div id='trapezoid'></div>
Background:linear-gradient
will not going to work since I use border to construct the shape.
Any trick I could use?
Thanks
P.S this is not a duplicate of this answer: