snipt

Ctrl+h for KB shortcuts

Text only

CSS: Flickering on animation on iOS

1
2
3
4
5
6
7
Could be fixed by:

Tips 1 - Adding -webkit-backspace-visibility: hidden to the animated element and/or its parent(s) and/or its child(ren)

Tips 2 - Adding translateZ(0) everywhere like a maniac

Tips 3 - Could be because of -webkit-scrolling-overflow ! Remove it and yey. Can't remove it ? Then remove a overflow: hidden on its parent and you should be fine.
https://snipt.net/embed/0798edb481751d69478f7c2e8bd40b5a/
/raw/0798edb481751d69478f7c2e8bd40b5a/
0798edb481751d69478f7c2e8bd40b5a
text
Text only
7
2019-08-20T06:02:22
True
False
False
Apr 01, 2015 at 04:04 PM
/api/public/snipt/138822/
css-flickering-on-animation-on-ios-75944e62
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a> <a href="#L-6">6</a> <a href="#L-7">7</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>Could be fixed by: </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a>Tips 1 - Adding -webkit-backspace-visibility: hidden to the animated element and/or its parent(s) and/or its child(ren) </span><span id="L-4"><a name="L-4"></a> </span><span id="L-5"><a name="L-5"></a>Tips 2 - Adding translateZ(0) everywhere like a maniac </span><span id="L-6"><a name="L-6"></a> </span><span id="L-7"><a name="L-7"></a>Tips 3 - Could be because of -webkit-scrolling-overflow ! Remove it and yey. Can&#39;t remove it ? Then remove a overflow: hidden on its parent and you should be fine. </span></pre></div> </td></tr></table>
animation, blink, crap, css, flicker

CSS

CSS animation webkit/chrome flicker at scale

1
2
3
	/** see bug flickering http://stackoverflow.com/questions/2946748/iphone-webkit-css-animations-cause-flicker */
	-webkit-perspective: 1000;
	-webkit-backface-visibility: hidden;
https://snipt.net/embed/be7850aad3acafd5aadc04be5e9cb2c9/
/raw/be7850aad3acafd5aadc04be5e9cb2c9/
be7850aad3acafd5aadc04be5e9cb2c9
css
CSS
4
2019-08-15T03:07:16
True
False
False
Jul 17, 2013 at 10:03 AM
/api/public/snipt/68210/
css-animation-webkitchrome-flicker-at-scale
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a> <span class="c">/** see bug flickering http://stackoverflow.com/questions/2946748/iphone-webkit-css-animations-cause-flicker */</span> </span><span id="L-2"><a name="L-2"></a> <span class="nt">-webkit-perspective</span><span class="o">:</span> <span class="nt">1000</span><span class="o">;</span> </span><span id="L-3"><a name="L-3"></a> <span class="nt">-webkit-backface-visibility</span><span class="o">:</span> <span class="nt">hidden</span><span class="o">;</span> </span></pre></div> </td></tr></table>
flicker