开发者

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.


divs 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜