CSS Background Pattern Generator

Choose a pattern, colours, size, line width and angle, preview it live and copy lightweight CSS, or download it as SVG or PNG.

브라우저에서 실행됩니다. 파일은 기기 밖으로 나가지 않습니다. 확인하는 방법 보기

…

사용 방법

  1. 1
    Choose a pattern

    Seven styles.

  2. 2
    Pick colours

    Lines and background.

  3. 3
    Adjust size and lines

    And stripe angle.

  4. 4
    Preview

    Live update.

  5. 5
    Copy or download

    CSS, SVG or PNG.

이 도구 소개

Background patterns add texture to a page, a slide or a card without loading image files. Modern CSS can draw grids, stripes, dots and checks entirely with gradients, which keeps pages fast and patterns crisp on any screen. This generator builds seven popular patterns: a simple grid, a blueprint grid with major and minor lines, polka dots, angled stripes, a checkerboard, gingham and an isometric grid for technical drawings. Adjust colours, size, line width and stripe angle, then copy the CSS or download a matching SVG or PNG.

Who this is for

Web designers and developers, presentation and document designers, teachers making worksheets, and anyone who needs graph paper, blueprint backgrounds or isometric grids.

The patterns

- **Grid:** thin horizontal and vertical lines, like graph paper. - **Blueprint:** fine minor lines with stronger major lines every five squares, on a deep blue by default. - **Polka dots:** evenly spaced circles from a radial gradient. - **Stripes:** a repeating linear gradient at any angle, from horizontal to diagonal. - **Checkerboard:** alternating squares from a conic gradient. - **Gingham:** overlapping translucent bands, like picnic cloth. - **Isometric grid:** lines at 30 degrees used for isometric sketches and game maps, drawn with a small inline SVG.

How CSS gradient patterns work

A gradient can switch abruptly from one colour to transparent, drawing a hard line. Setting `background-size` repeats that small tile across the element. Layering two gradients, one horizontal and one vertical, produces a grid; a `radial-gradient` makes a dot; a `conic-gradient` with four quarters makes checks.

Exporting

- **Copy CSS:** paste into any rule; the pattern scales with the element and needs no image. - **SVG:** a 1200 × 800 SVG using a repeating pattern, ideal for print, slides and design tools. - **PNG:** a 1200 × 800 image for documents and apps that do not support SVG.

Design tips

- Keep contrast low between the line and background colours so text above stays readable. - Put text on a solid panel over busy patterns. - Match the grid size to your layout spacing, for example 8 or 24 pixels. - Use the blueprint style for technical or engineering themes and gingham for friendly, casual designs.

Printing graph paper

Choose the grid, set the size and download the SVG; at 96 pixels per inch, a 38-pixel grid prints at roughly one centimetre. Check your printer's scale setting.

## Combining patterns Patterns can be layered: CSS accepts several background images separated by commas, so a dot pattern can sit on top of a grid, or stripes over a gradient. Put the topmost layer first. Use transparent or semi-transparent colours so the lower layers show through.

Theming

Swap the line and background colours with one click to create a dark version, or use CSS custom properties for the colours so a single change updates every pattern on a site. Patterns also look good at very low contrast as a subtle page texture behind cards.

Limits

Very small patterns with thin lines can shimmer on some screens. This is a design tool, not professional print advice.

풀이 예시

A 24-pixel blueprint grid uses major lines every 120 pixels.

한눈에 보기

자주 묻는 질문

Do CSS patterns need images?

No, they are drawn with gradients.

How do I change the size?

Use the size slider; it sets background-size.

Can I export the pattern?

Yes, as SVG or PNG.

How is the isometric grid drawn?

With a small inline SVG tile.

Do patterns work in all browsers?

Yes, in all current major browsers.

Is anything uploaded?

No. Everything runs in your browser.

완전 무료요금 없음, 가입 없음
파일은 비공개로 유지됩니다모든 작업이 브라우저 안에서 이루어집니다
내 언어로 쉽게여러 언어로 제공