Created
January 30, 2019 00:59
-
-
Save birtles/eecfde217441e936a4c73bcbf094877e to your computer and use it in GitHub Desktop.
Opacity test case
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<meta charset=utf-8> | |
<style> | |
div { | |
width: 200px; | |
height: 200px; | |
background: orange; | |
} | |
</style> | |
<div id=div></div> | |
<script> | |
const animation = div.animate( | |
{ opacity: [0, 1] }, | |
{ | |
duration: 100000, | |
iterations: Infinity, | |
} | |
); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment