Hacker News new | ask | show | jobs
by archerx 923 days ago
Should have used a .gif for the animation :)

CSS animations are a resource hog and I avoid having continuously running animations for this reason. For one site I wanted to have a background gradient slowly shift colors over time in an infinite loop but my laptop fan kept spinning on the page and the cpu usage was high so I scraped it.