I'm developing a site and the demo may be seen here. The problem I face is when the logo's height reduces while scrolling, it blurs slightly most of the time. The same thing happens when I again scroll up, and the logo is restored to its original size. This happens in Chrome and IE (Edge), but works fine in Firefox.
I guess it is happening because of the CSS3 transitions that are applied. If I remove the transition, it scales fine.
transition: all 0.3s ease-in-out;
transition-property: all;
transition-duration: 0.3s;
transition-timing-function: ease-in-out;
transition-delay: initial;
The property that the transition is applied on is height
.
Initially: height: 3.125rem;
Upon scroll: height: 2.375rem;
I've tried adding the following, given here, but it did not work. In fact, adding the following makes my image slightly blurry as it loads, even without any scrolling.
-webkit-backface-visibility: hidden;
-webkit-transform: translateZ(0) scale(1.0, 1.0);
And also:
-webkit-transform: translate3d(0,0,0);
transform: translate3d(0,0,0);