Webkit not respecting overflow:hidden with border radius

前端 未结 8 1664
抹茶落季
抹茶落季 2020-12-09 17:03

I have a lovely Star Trek Red Alert animation using CSS3. One of my parent elements has a border-radius along with overflow:hidden so that any con

8条回答
  •  醉酒成梦
    2020-12-09 17:58

    You could put an absolute positioned div over it with a border-radius and a thick black border, it will block the parts you want too be hidden.

    I made a demo for another question about a similar problem in FF3.6: http://jsfiddle.net/vfp3v/15/

    border-radius; overflow: hidden, and text is not clipped

提交回复
热议问题