<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Restart CSS Animation</title>
	<atom:link href="http://css-tricks.com/restart-css-animation/feed/" rel="self" type="application/rss+xml" />
	<link>http://css-tricks.com/restart-css-animation/</link>
	<description>Tips, Tricks, and Techniques on using Cascading Style Sheets.</description>
	<lastBuildDate>Sat, 18 May 2013 17:33:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Divya Manian</title>
		<link>http://css-tricks.com/restart-css-animation/#comment-95290</link>
		<dc:creator>Divya Manian</dc:creator>
		<pubDate>Sat, 28 May 2011 20:11:14 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=9283#comment-95290</guid>
		<description><![CDATA[Just wanted to say, if you wish to cancel an infinitely repeating event, you can check for this event &lt;a href=&quot;http://developer.apple.com/library/safari/#documentation/AudioVideo/Reference/WebKitAnimationEventClassReference/WebKitAnimationEvent/WebKitAnimationEvent.html#//apple_ref/javascript/cl/WebKitAnimationEvent&quot; rel=&quot;nofollow&quot;&gt;&#039;webkitAnimationIteration&#039;&lt;/a&gt; which is fired whenever the animation iteration count is more than 1.]]></description>
		<content:encoded><![CDATA[<p>Just wanted to say, if you wish to cancel an infinitely repeating event, you can check for this event <a href="http://developer.apple.com/library/safari/#documentation/AudioVideo/Reference/WebKitAnimationEventClassReference/WebKitAnimationEvent/WebKitAnimationEvent.html#//apple_ref/javascript/cl/WebKitAnimationEvent" rel="nofollow">&#8216;webkitAnimationIteration&#8217;</a> which is fired whenever the animation iteration count is more than 1.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kiralik iskele</title>
		<link>http://css-tricks.com/restart-css-animation/#comment-94398</link>
		<dc:creator>kiralik iskele</dc:creator>
		<pubDate>Thu, 19 May 2011 17:33:09 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=9283#comment-94398</guid>
		<description><![CDATA[I will translate the Restart CSS Animation to my language Turkish.]]></description>
		<content:encoded><![CDATA[<p>I will translate the Restart CSS Animation to my language Turkish.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SureFire Web</title>
		<link>http://css-tricks.com/restart-css-animation/#comment-93504</link>
		<dc:creator>SureFire Web</dc:creator>
		<pubDate>Wed, 11 May 2011 14:26:09 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=9283#comment-93504</guid>
		<description><![CDATA[And the debate goes on!  This was actually my question also.  Why start mixing css animations and javascript animations? Seems like it would be a pain to come back to in the future.

I think it&#039;ll be easier to stick with one and since CSS isn&#039;t really ready yet (browser support,  inability to restart animations),  just stick with javascript.]]></description>
		<content:encoded><![CDATA[<p>And the debate goes on!  This was actually my question also.  Why start mixing css animations and javascript animations? Seems like it would be a pain to come back to in the future.</p>
<p>I think it&#8217;ll be easier to stick with one and since CSS isn&#8217;t really ready yet (browser support,  inability to restart animations),  just stick with javascript.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oscar Broman</title>
		<link>http://css-tricks.com/restart-css-animation/#comment-93479</link>
		<dc:creator>Oscar Broman</dc:creator>
		<pubDate>Wed, 11 May 2011 10:49:50 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=9283#comment-93479</guid>
		<description><![CDATA[Hello,
I ran into this problem not so long ago, the way I solved it was by removing the class then setting a 0ms timer for re-adding it.

&lt;code&gt;$(&#039;something&#039;).removeClass(&#039;anim&#039;).animate({&#039;nothing&#039;:null}, 1, function () {
	$(this).addClass(&#039;anim&#039;);
});&lt;/code&gt;

Simple, yet effective!]]></description>
		<content:encoded><![CDATA[<p>Hello,<br />
I ran into this problem not so long ago, the way I solved it was by removing the class then setting a 0ms timer for re-adding it.</p>
<p><code>$('something').removeClass('anim').animate({'nothing':null}, 1, function () {<br />
	$(this).addClass('anim');<br />
});</code></p>
<p>Simple, yet effective!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee Kowalkowski</title>
		<link>http://css-tricks.com/restart-css-animation/#comment-93290</link>
		<dc:creator>Lee Kowalkowski</dc:creator>
		<pubDate>Tue, 10 May 2011 07:55:02 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=9283#comment-93290</guid>
		<description><![CDATA[Jesper, I agree it&#039;s nicer, but that&#039;s the approach that the article says is not working, isn&#039;t it?]]></description>
		<content:encoded><![CDATA[<p>Jesper, I agree it&#8217;s nicer, but that&#8217;s the approach that the article says is not working, isn&#8217;t it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesper Ek</title>
		<link>http://css-tricks.com/restart-css-animation/#comment-93119</link>
		<dc:creator>Jesper Ek</dc:creator>
		<pubDate>Mon, 09 May 2011 08:49:28 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=9283#comment-93119</guid>
		<description><![CDATA[Another way of doing it using addClass/removeClass is to force a reflow between the calls, which is a bit nicer than setTimeout imho:

$(this).removeClass(&#039;trigger&#039;).width(); // reading width() forces reflow
$(this).addClass(&#039;trigger&#039;);]]></description>
		<content:encoded><![CDATA[<p>Another way of doing it using addClass/removeClass is to force a reflow between the calls, which is a bit nicer than setTimeout imho:</p>
<p>$(this).removeClass(&#8216;trigger&#8217;).width(); // reading width() forces reflow<br />
$(this).addClass(&#8216;trigger&#8217;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Lamers</title>
		<link>http://css-tricks.com/restart-css-animation/#comment-92708</link>
		<dc:creator>Rick Lamers</dc:creator>
		<pubDate>Fri, 06 May 2011 20:30:11 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=9283#comment-92708</guid>
		<description><![CDATA[From what I&#039;ve seen jQuery/Javascript animations are smoother then CSS3 ones...]]></description>
		<content:encoded><![CDATA[<p>From what I&#8217;ve seen jQuery/Javascript animations are smoother then CSS3 ones&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iskele</title>
		<link>http://css-tricks.com/restart-css-animation/#comment-92656</link>
		<dc:creator>iskele</dc:creator>
		<pubDate>Fri, 06 May 2011 13:58:00 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=9283#comment-92656</guid>
		<description><![CDATA[Very useful thanks.]]></description>
		<content:encoded><![CDATA[<p>Very useful thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafał Krupiński</title>
		<link>http://css-tricks.com/restart-css-animation/#comment-92629</link>
		<dc:creator>Rafał Krupiński</dc:creator>
		<pubDate>Fri, 06 May 2011 11:19:45 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=9283#comment-92629</guid>
		<description><![CDATA[I bellieve that&#039;s because IE8 does not support css animations.]]></description>
		<content:encoded><![CDATA[<p>I bellieve that&#8217;s because IE8 does not support css animations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jatin</title>
		<link>http://css-tricks.com/restart-css-animation/#comment-92626</link>
		<dc:creator>Jatin</dc:creator>
		<pubDate>Fri, 06 May 2011 10:50:34 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=9283#comment-92626</guid>
		<description><![CDATA[Animation was smooth on Safari and Chrome, but not on IE 8. I haven&#039;t tried on Firefox though.]]></description>
		<content:encoded><![CDATA[<p>Animation was smooth on Safari and Chrome, but not on IE 8. I haven&#8217;t tried on Firefox though.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced (User agent is rejected)
Content Delivery Network via cdn.css-tricks.com

 Served from: css-tricks.com @ 2013-05-18 11:15:37 by W3 Total Cache -->