Generate css sprite animations automatically.