Webkit border-radius and overflow bug when using any animation/transition

后端 未结 8 1929
悲哀的现实
悲哀的现实 2020-12-13 04:02

I am having getting a weird bug when I use a combination of overflow, border-radius, and transition. I have a div with an img inside o

8条回答
  •  孤城傲影
    2020-12-13 04:35

    I have faced this issue on Safari(It's a known bug in safari); fixed by applying -webkit-mask-image and it work for me perfectly. cheers

    .block{
           -webkit-mask-image: -webkit-radial-gradient(white, black);
          }
    

提交回复
热议问题