开发者

How to give a vanishing end on div or elements

开发者 https://www.devze.com 2023-01-20 07:30 出处:网络
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

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

精彩评论

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