← All tools

CSS Section Separator Generator

Generate a responsive SVG section divider with adjustable shape, height, amplitude and flip.

css-separator-generatorLOCAL WORKSPACE

Enabling local controls…

Tool settings

Put the exported SVG inside a .section-separator container to use the CSS wrapper. The preview scales tall dividers to fit.

Settings stay on this page. Reloading restores the defaults.

Feature reference checked 2026-11-21 · ZeroServer

Live preview and export

CSS

.section-separator {
  display: block;
  width: 100%;
  height: 120px;
  line-height: 0;
}

.section-separator svg {
  display: block;
  width: 100%;
  height: 100%;
}

SVG

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" width="100%" height="120" preserveAspectRatio="none" aria-hidden="true">
  <path d="M0 103.2 C100 65.42 220 65.42 400 103.2 S700 65.42 800 65.42 S1100 103.2 1200 65.42 L1200 120 H0 Z" fill="#6366f1"/>
</svg>

How to use this tool

Choose a preset or edit the controls. Compare the live preview, then copy or download the styles and any available markup.

When not to use it

Verify contrast, placement and browser behavior in the component that will use the exported styles.