search

Home  >  Q&A  >  body text

CSS3动画导致图片模糊

在用CSS3做动画的时候,在IOS设备上图片会显示得比较模糊,动画结束之后会好,请问如何解决?

迷茫迷茫2922 days ago683

reply all(2)I'll reply

  • 巴扎黑

    巴扎黑2017-04-17 11:36:30

    Add a pseudo class, try this?

    p:after {
        content: '.';
        position: absolute;
        top: 50%;
        left: 50%;
        color: rgba(255, 102, 0, 0.1);
    }

    reply
    0
  • 迷茫

    迷茫2017-04-17 11:36:30

    Last year’s question! ! ! Since the GPU draws, the animation part is preloaded through :after, which looks better.

    reply
    0
  • Cancelreply