Why doesn't blur(0) remove all text blur in Webkit/Chrome on retina screens?

前端 未结 3 1419
夕颜
夕颜 2021-01-19 03:50

I recently came across an odd behaviour in Webkit browsers (under OSX at least) which took far longer to resolve than I would like!

Essentially: setting filter

3条回答
  •  攒了一身酷
    2021-01-19 04:26

    As jaicab, I also had to do a filter transition, but using translateZ(0) caused some of my content to be hidden. I found that -webkit-backface-visibility: hidden; removes the blur when using blur(0) and has less side effects (in my case, keeps content visible).

    http://jsbin.com/OjeSAHeg/1/edit

提交回复
热议问题