How to give a vanishing end on div or elements
How can I display a div in a perspective view or with a vanis开发者_StackOverflow社区hing end.
div
s are necessarily rectangular. However, newer browsers can accomplish this via CSS transforms. Here are examples for Firefox. The specification is here.
That may not be what you want, since it will change the div and all it's contents though. If you just want the shape, then use an image or draw it yourself on a canvas.
精彩评论