<svg viewport-fill="#222"> <mask id="mask"> <rect x="50%+15" y="50%" width="60" height="10" /> <rect x="$-160" y="$-10" width="60" height="10" /> <rect x="$+15" y="$-85" width="10" height="60" /> <rect x="$-10" y="$+40" width="10" height="60" /> </mask> <svg mask="#mask" width="100%" height="100%"> <gradientRect width="100%" height="100%" fill="cyan" gradient-type="bilinear" gradient-x1="10%" gradient-y1="10%" gradient-x2="80%" gradient-y2="80%" gradient-color2="yellow" gradient-color3="magenta" gradient-color4="green" /> </svg> </svg>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter