How to hide canvas content from parent rounded corners in any webkit for Mac?

后端 未结 6 628

I have a parent div with rounded corners that contains a canvas:

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-04 02:10

    Bug still exists (11/2015), but another workaround is to add position: relative; to the overflow:hidden; element.

提交回复
热议问题