0

这个小提琴:

http://jsfiddle.net/e7rGM/40/

包含一个受苹果启发的开关。由于元素定位的性质,一旦动画功能被动画化,它将不会限制内部元素的圆角。有没有办法强制。

4

1 回答 1

1

You can take a look one of the answers from this post, which suggests using Webkit CSS Mask.

How to make CSS3 rounded corners hide overflow in Chrome/Opera

This seems to fix your problem. Here's the updated fiddle: http://jsfiddle.net/e7rGM/42/

于 2012-10-06T14:57:25.403 回答