This is how you make a trapezoid in CSS. First you want to set up the div. We will give our div an id of trapezoid.
<div id="trapezoid"></div>
Next we will style the div in our CSS.
<style>
#trapezoid {
border-bottom: 100px solid lightBlue;
border-left: 50px solid transparent;
border-right: 50px solid transparent;
height: 0;
width: 100px;
}
</style>
How to make a Trapezoid in CSS
Feel free to copy and paste the code to suit your needs. :-) Most coders tear apart a code piece by piece in order to debug it. Do the same thing to this code so you can lear what each command does to your CSS. This is the best way to learn How to make a Trapezoid in CSS.