Advertisement
Guest User

Untitled

a guest
Dec 9th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. <div id="css3">
  2. <svg id="gradient">
  3. <defs>
  4. <linearGradient id="linearGradient2">
  5. <stop offset="0%" style="stop-color: red;stop-opacity:1" />
  6. <stop offset="50%" style="stop-color: blue;stop-opacity:0.5" />
  7. <stop offset="100%" style="stop-color: yellow;stop-opacity:1" />
  8. </linearGradient>
  9. <linearGradient id="linearGradient3" xlink:href="#linearGradient2" x1="0" y1="0" x2="300" y2="150" gradientUnits="userSpaceOnUse" />
  10. </defs>
  11. <rect class="gradient" width="300px" height="150px" style="fill: url(#linearGradient3)" />
  12. </svg>
  13. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement