I have problem with this shape, we are all ready using css border class to make this shape, please if any one can make this black box shape with in the Jquery. it will be very help.
me
Asked
Active
Viewed 108 times
0

Bharat Negi
- 507
- 4
- 12
-
"One does not simply make it with jQuery" – evolutionxbox Sep 21 '16 at 09:55
-
I find the my answer here:- http://stackoverflow.com/questions/33504507/responsive-css-trapezoid-shape – Bharat Negi Sep 22 '16 at 05:58
-
Then flag this question as a duplicate – evolutionxbox Sep 22 '16 at 07:20
1 Answers
1
You can use borders to create that shape and then just use transform: rotate
.shape {
width: 80px;
border-left: 25px solid transparent;
border-right: 25px solid transparent;
border-bottom: 80px solid black;
transform: rotate(90deg);
margin: 50px;
}
<div class="shape"></div>

Nenad Vracar
- 118,580
- 15
- 151
- 176