How to get a frame off animated png using CSS?

Does CSS provide a way to get a specific frame from animated png (APNG, PNG), or even loop the (A)PNG only from frame A to frame B?


APNG isn't a consideration as far as CSS is concerned, most browsers don't even support it (apart from firefox)

What you're best off doing is turning your APNG into a PNG spritesheet, animating it using Javascript and using background-position in CSS to get particular frames.

Need Your Help

Add and removing a unspecified number of UIImageviews programatically

iphone uiview uiimageview

My app is a standard casino game where you bet casino chips. When the user taps a chip that chip gets added to the chip pile being used for the bet. I do this by adding a UIImageView on top of (sli...

How to iterate over each select element in a dynamic form

javascript jquery clone each

I saw this post for cloning form fields with incrementing ids - works great.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.