summaryrefslogtreecommitdiffstats
path: root/devtools/client/inspector/animation/test/doc_short_duration.html
blob: ed9b2d94dc4f625176a4a025ba92980d93bfca12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <style>
    div {
      background-color: lime;
      height: 100px;
    }
    </style>
  </head>
  <body>
    <div class="short"></div>
    <script>
    "use strict";

    document.querySelector(".short").animate(
      { opacity: [1, 0] },
      {
        duration: 1,
        iterations: Infinity,
      }
    );
    </script>
  </body>
</html>