Reputation: 507
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
Upvotes: 0
Views: 122
Reputation: 122087
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>
Upvotes: 1