tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

paused-animations-print.html (470B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <link rel="help" href="https://drafts.csswg.org/css-animations/">
      4 <link rel="match" href="paused-animations-print-ref.html">
      5 <title>Paused CSS animation</title>
      6 <style>
      7 
      8 @keyframes a {
      9  from, to { color: blue; }
     10 }
     11 
     12 p {
     13  color: olive;
     14  animation: a 1s infinite;
     15 }
     16 
     17 </style>
     18 <p id="anim">blue with animation support; olive without</p>
     19 <script>
     20 let element = document.getElementById("anim");
     21 element.style.animationPlayState = "paused";
     22 </script>