将块级元素转换为不同形状的SVG图形的jQuery插件 a simple svg shape maker

fills

solid colour

static image

animated .gif

Set the fill to any hex, rgb, or other standard CSS colour value for a solid colour. To use an image or a .gif, pass the file path relative to the main page in the fillImage option to use either! Note: fillImage will override any fill. So simply don't include it if you want to use a plain colour fill!