Background image trembling while transition filter at Chrome

When I change blur filter, image trembles a little bit.

Here is demo at jsfiddle. Please click twice on button at demo

body {
    background-color: #000;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    z-index: -1;
    background: url(https://static01.nyt.com/newsgraphics/2017/12/26/2018-1-olympics-climate/assets/images/469466931-1254.jpg) center no-repeat;
    background-size: cover;
    transition: filter 2s;
}
body.blurred::before {
    filter: blur(30px);
}

I am using Chrome 63.0.3239.84 on Mac with non-Retina display.

I see many similar question, but no one answer helps me
image moves on hover - chrome opacity issue
CSS transition effect makes image blurry / moves image 1px, in Chrome?

1 answer

  • answered 2018-01-11 19:49 Evgeny Gendel

    I cheated problem using transition by steps, not smoothly

    transition-timing-function: steps(10, end);
    

    It is not a solving, it is a cheating and can be applied not everywhere.
    I can't explain it, but it works for me.

    https://jsfiddle.net/tuzae6a9/6/