开发者

webkit transforms CSS and overflow

I have a div, in which its contents are being transformed using webkit css transforms. Now the div h开发者_开发技巧as overflow: hidden;, but the contents after transformation keep showing up outside the div.

Why is this?


Without code it's hard to say, but remember that transforms happen after the rest has been drawn. That means that the transformed element will be moved from wherever it was ignoring overflow:hidden as it's not overflowing, it's been transformed.


It is a bug in Chromium after all.

http://code.google.com/p/chromium/issues/detail?id=72309

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜