CSS Border radius not trimming image on Webkit

前端 未结 6 1365
闹比i
闹比i 2020-11-27 20:21

I\'m having trouble figuring out why border-radius is gone from my #screen element when using chrome but not firefox or ie9?

I have all the different prefixes for ea

6条回答
  •  执念已碎
    2020-11-27 20:56

    Here's a workaround that will fix the current chrome bug:

    .element-that-holds-pictures {
       perspective: 1px; /* any non-zero value will work */
    }
    

    This won't affect the display at all (unlike the opacity:0.99 workaround - which is great workaround, too, by the way).

提交回复
热议问题