gradient-html-03-ref.svg 430 B

12345678910111213
  1. <!--
  2. Any copyright is dedicated to the Public Domain.
  3. http://creativecommons.org/licenses/publicdomain/
  4. -->
  5. <svg xmlns="http://www.w3.org/2000/svg">
  6. <rect width="100" height="100" fill="url(#g)"/>
  7. <rect y="100" width="100" height="100" fill="blue"/>
  8. <linearGradient id="g" x2="0" y2="1">
  9. <stop stop-color="lime" offset="0"/>
  10. <stop stop-color="lime" stop-opacity="0" offset="1"/>
  11. </linearGradient>
  12. </svg>