tor-browser

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

mix-blend-mode-animation-ref.html (815B)


      1 <!DOCTYPE html>
      2 <html>
      3    <head>
      4        <title>CSS Test: Blended element with animation</title>
      5        <link rel="author" title="Mihai Tica" href="mailto:mitica@adobe.com">
      6        <style type="text/css">
      7            div {
      8                width: 100px;
      9                height: 100px;
     10                background: #FF0;
     11            }
     12 
     13            @keyframes changeOpacity
     14            {
     15                from { opacity: 0.9; }
     16                50% { opacity: 0.9; }
     17                to { opacity: 0.1; }
     18            }
     19 
     20            #blender {
     21                background: #0F0;
     22                animation: changeOpacity 10s;
     23            }
     24        </style>
     25    </head>
     26    <body>
     27        <p>Test passes if you can see a fading green box after 5 seconds.</p>
     28        <div><div id="blender"></div></div>
     29    </body>
     30 </html>