Jump to content

SarahLange

Members
  • Posts

    1
  • Joined

  • Last visited

SarahLange's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. I designed a very nice Christmas theme for my site which involves an animated gif snow animation. My problem is the animated gif does consume CPU resources and when users open many browser tabs in my sub, the CPU consumption becomes an issue. I'm forced to only use CSS because the site is hosted on Reddit. I'm aware that CSS supports the animation-play-state: paused; which seems ideal, however I'm not sure how to switch the state to running only for the page that is visible? Does anyone know of a crazy way to solve this issue using CSS? https://www.w3schools.com/cssref/css3_pr_animation-play-state.asp
×
×
  • Create New...