blob: 31fe1d0fa97fac4c51f8996e71f74c1d4c76fbbf [file] [log] [blame]
<div id="target" style="width: 100px; height: 100px; background-color: black;"></div>
<script>
document.getElementById("target").animate([
{ opacity: 1 },
{ opacity: 0 }
], 1000);
</script>