Esta página ainda não foi traduzida para o português, por isso aparece em inglês.

SVG Pattern Generator — Seamless Background Patterns for CSS

Give sections and cards a subtle texture with seamless SVG patterns: dots, grids, diagonal lines, zigzags, waves, plus signs, checkerboards, circles, triangles and more. Adjust the tile size, stroke, colors and opacity, then copy a tiny CSS background with the SVG inlined — no image file — or download the tile.

Atualizado em

Seus dados nunca saem do seu computador. Todo o processamento acontece localmente no navegador.

Como usar: SVG Pattern Generator

  1. Pick a pattern — dots, grid, lines, zigzag, waves, plus, checkerboard, circles, triangles, cross-hatch, diamonds or stripes.
  2. Set the tile size, line thickness and opacity; low opacity makes subtle textures.
  3. Choose the pattern and background colors, or a transparent background to lay it over your own color or gradient.
  4. Copy the CSS (the SVG is inlined as a data URI) or download the tile as an SVG file.

Why SVG patterns?

A pattern tile is a tiny SVG — usually under 300 bytes — that the browser repeats with background-repeat. It stays sharp at any zoom level and on retina screens, needs no extra request when inlined as a data URI, and recolors instantly by changing two values.

.hero {
  background-color: #0f172a;
  background-image: url("data:image/svg+xml,…");
  background-size: 24px 24px;
}

Patterns are built so their edges line up perfectly when tiled. To layer a pattern over a gradient, tick Transparent background and list both images: background-image: url(…pattern…), linear-gradient(…). For hero dividers, see the SVG Wave Generator and Section Divider Generator.

Também pesquisado como: css background pattern, seamless pattern generator, svg background generator, dot pattern css, grid pattern css, hero patterns, subtle background pattern.

Ferramentas que combinam com: SVG Pattern Generator

  • CSS Gradient Generator — Design a gradient visually — drag color stops, change the angle or type, start from a preset — and copy production-ready CSS with a solid fallback color.
  • SVG Blob Generator — Create smooth, organic blob shapes for hero backgrounds, avatars and illustrations.
  • SVG to CSS Converter — Paste an SVG and get a compact, URL-encoded data URI plus ready-made background-image and recolorable mask-image CSS.
  • Glassmorphism Generator — Design a frosted-glass card with live sliders and copy cross-browser CSS — with the -webkit-backdrop-filter prefix and a fallback for older browsers.

Perguntas frequentes

How do I add a dot pattern background in CSS?
Choose Dots, set the size and colors, and copy the CSS: it sets background-image to an inline SVG tile and background-size to the tile size, so the dots repeat seamlessly.
Can I use the pattern on top of a gradient?
Yes — tick Transparent background, then add your gradient after the pattern: background-image: url(...), linear-gradient(...).
Do SVG patterns slow a page down?
No. Each tile is a few hundred bytes inlined in the CSS, so there is no extra download, and SVG renders efficiently.
Can I use the pattern in Webflow?
Yes — paste the CSS into an Embed with a style tag targeting your class, or download the SVG tile and set it as a background image with tiling.
Posso instalar o SVG Pattern Generator como um aplicativo da web e usá-lo offline?
Sim. O SVG Pattern Generator é um aplicativo da web instalável (PWA) — instalado a partir do seu navegador, não baixado de uma loja de aplicativos. Clique em “Instalar aplicativo” na parte superior desta página no Chrome ou no Edge (Windows, macOS, Linux, ChromeOS) ou, no Android, use “Compartilhar” → “Adicionar à tela inicial” no iPhone e no iPad, ou “Arquivo” → “Adicionar ao Dock” no Safari 17+ em um Mac. Em seguida, ela se abre em uma janela própria com seu próprio ícone e, como é executada inteiramente no seu navegador, continua funcionando offline. O Firefox no desktop não permite a instalação de aplicativos da web. Como funciona a instalação.

Ferramentas relacionadas