About SVG图案生成器
生成重复的SVG图案用于背景
Use this free online svg工具 tool to work faster without installing extra software. The interface is built for quick input, clear output, and straightforward results on desktop and mobile devices.
生成重复的SVG图案用于背景
Pattern Type
Pattern Settings
Colors
Preview
SVG Pattern Code
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20">
<rect width="100%" height="100%" fill="#ffffff" />
<pattern id="pattern" width="20" height="20" patternUnits="userSpaceOnUse">
<circle cx="10" cy="10" r="4" fill="#000000" fill-opacity="0.2" />
</pattern>
<rect width="100%" height="100%" fill="url(#pattern)" />
</svg>CSS Background
background-color: #ffffff;
background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%3E%0A%20%20%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22%23ffffff%22%20%2F%3E%0A%20%20%3Cpattern%20id%3D%22pattern%22%20width%3D%2220%22%20height%3D%2220%22%20patternUnits%3D%22userSpaceOnUse%22%3E%0A%20%20%20%20%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%224%22%20fill%3D%22%23000000%22%20fill-opacity%3D%220.2%22%20%2F%3E%0A%20%20%3C%2Fpattern%3E%0A%20%20%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22url(%23pattern)%22%20%2F%3E%0A%3C%2Fsvg%3E");
background-repeat: repeat;生成重复的SVG图案用于背景
Use this free online svg工具 tool to work faster without installing extra software. The interface is built for quick input, clear output, and straightforward results on desktop and mobile devices.
This tool runs in your browser whenever possible, which keeps your inputs private and reduces unnecessary round-trips to the server.