blend-difference-stacking-ref.html 546 B

12345678910111213141516171819202122232425262728293031
  1. <!--
  2. Any copyright is dedicated to the Public Domain.
  3. http://creativecommons.org/publicdomain/zero/1.0/
  4. -->
  5. <html>
  6. <style>
  7. #a {
  8. background-color: rgb(0,255,0);
  9. width: 200px;
  10. height: 210px;
  11. }
  12. #b {
  13. position: absolute;
  14. top:80px;
  15. filter:url(#f);
  16. }
  17. </style>
  18. <svg height="0">
  19. <filter id="f">
  20. <feColorMatrix values="1 1 1 0 0
  21. 1 1 1 0 0
  22. 1 1 1 0 0
  23. 0 0 0 1 0"/>
  24. </filter>
  25. </svg>
  26. <div id="a">
  27. <div id="b">.</div>
  28. </div>
  29. </html>