stacking-context-opacity-1-in-delay.html 379 B

123456789101112131415161718192021222324
  1. <!DOCTYPE html>
  2. <title>
  3. Opacity animation creates stacking context in delay phase
  4. </title>
  5. <style>
  6. span {
  7. height: 100px;
  8. width: 100px;
  9. position: fixed;
  10. background: green;
  11. top: 50px;
  12. }
  13. @keyframes Opaque {
  14. from, to { opacity: 1 }
  15. }
  16. #test {
  17. width: 100px; height: 100px;
  18. background: blue;
  19. animation: Opaque 100s 100s;
  20. }
  21. </style>
  22. <span></span>
  23. <div id="test"></div>