svg xmlns http www w3 org 2000 svg width 100 height 100 mask id fade_e

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">
<mask id="fade_edges_svg_mask" maskUnits="objectBoundingBox" maskContentUnits="objectBoundingBox">
<linearGradient id="fade_edges_svg_gradient" gradientUnits="objectBoundingBox" x2="1" y2="0">
<stop stop-color="#fff" stop-opacity=".5"/>
<stop offset=".15" stop-color="#fff"/>
<stop offset=".85" stop-color="#fff"/>
<stop offset="1" stop-color="#fff" stop-opacity=".5"/>
</linearGradient>
<rect x="0" y="0" width="1" height="1" fill="url(#fade_edges_svg_gradient)"></rect>
</mask>
</svg>