Skip to content

Instantly share code, notes, and snippets.

@yurenju
Created November 26, 2012 17:00
Show Gist options
  • Save yurenju/4149344 to your computer and use it in GitHub Desktop.
Save yurenju/4149344 to your computer and use it in GitHub Desktop.
<linearGradient id="gradient-red" y2="0" x2="0" y1="150" x1="0" gradientUnits="userSpaceOnUse" >
<stop offset="0.2" style="stop-color:#ff0000;stop-opacity:0" />
<stop offset="1" style="stop-color:#ff0000;stop-opacity:0.5" />
</linearGradient>
<clipPath clipPathUnits="userSpaceOnUse" id="clip-hangup">
<rect style="fill:#000000;fill-opacity:1;stroke:none" width="89" height="130" x="23" y="0" />
</clipPath>
<path id="swiper-hangup-mask" style="fill: url(#gradient-red);" id="swiper-curvepath-red" stroke="none"
clip-path="url(#clip-hangup)"
d="M0,80 C100,150 220,150 320,80 V 150 H 0 Z">
</path>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment