<!DOCTYPE HTML>
<html>
<title>CSS Test Reference (Color): ending of opacity animation</title>
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Google" href="https://www.google.com/">

<style>
#test {
  position: sticky;
  top: 0;
  height: 50px;
  background: blue;
  opacity: 0.2;
}

.tall {
  height: 5000px;
}
</style>

<div id="test">
</div>
<div class="tall">
</div>
