CSS Section Divider Generator — Angled, Curved & Zigzag Edges

Give landing-page sections angled, curved, arrow, wave, zigzag or scalloped edges with one CSS rule. Pick the shape, the edge (top, bottom or both) and how deep the cut is — in px or vw, so the angle stays the same on every screen. Works on solid colors, gradients and photos, with no extra SVG file.

Runs in your browserUpdated

Your section

Headline, text and buttons stay clear of the cut edge.

The next section shows through the cut.

CSS

Your data never leaves your computer. All processing happens 100% locally in your browser.

How to use the Section Divider Generator

  1. Pick a shape: angle, arrow, notch, curve, scoop, curved angle, wave, zigzag, scallops or steps.
  2. Choose the edge to cut — bottom, top or both (both edges with an angle gives the classic slanted band).
  3. Set the cut depth. Use px or vw so the angle stays constant when the section grows; for waves and zigzags set the number of repeats.
  4. Copy the CSS onto your section. The optional rule pulls the next section up under the cut so no gap is left.

How angled sections work

The section keeps its normal rectangular box; clip-path: polygon() just hides a triangle (or curve, or zigzag) along its edge. Each point on the cut edge uses calc(100% - 80px), so the cut is always 80 px deep — on a short hero and on a long section alike — and the angle doesn’t change as content grows.

.section {
  position: relative;
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 80px), 0 100%);
  padding-bottom: calc(80px + 3rem);
}
.section + * { margin-top: -80px; padding-top: calc(80px + 3rem); }

The second rule slides the next section up underneath the cut, so its background — not the page’s — fills the angled gap. z-index: 1 keeps the clipped section on top. Curves, waves and scallops are drawn as polygons with many points, which every modern browser renders smoothly.

clip-path vs. skew vs. SVG

transform: skewY() also tilts a section but skews its content too, so you have to un-skew every child. An SVG divider needs an extra element. clip-path cuts the section itself — backgrounds, gradients and photos included — with one rule. For layered, organic waves use the SVG Wave Generator; to fade an edge softly instead of cutting it, use the CSS Mask Generator.

Also searched as: angled section css, css slanted section, diagonal section css, css shape divider, curved section css, zigzag border css, clip-path section divider, css section separator.

Tools that pair well with the Section Divider Generator

  • CSS Clip-path Generator — Cut images and elements into any shape: pick one of 15 starting shapes — triangle, hexagon, star, arrow, chevron, speech bubble, circle, ellipse, rounded inset… — then drag the points over a sample or your own image.
  • SVG Blob Generator — Create smooth, organic blob shapes for hero backgrounds, avatars and illustrations.
  • CSS Triangle Generator — Make a pure-CSS triangle for a tooltip arrow, dropdown caret or speech bubble: choose one of 8 directions, the width, height and color, and copy either the classic border trick or a simpler clip-path version.
  • CSS Animation Generator — Design CSS animations on a real keyframe timeline.

Frequently asked questions

How do I make an angled (slanted) section in CSS?
Use clip-path: polygon(0 0, 100% 0, 100% calc(100% - 80px), 0 100%) on the section. This cuts the bottom edge diagonally by 80 px. Choose Angle here and copy the CSS.
Why use px or vw instead of %?
A percentage is relative to the section’s height, so a taller section gets a steeper angle. A px or vw depth keeps the angle consistent; vw also scales the angle with the screen width.
How do I stop a gap appearing under the cut?
Give the next section a negative top margin equal to the cut depth (the optional rule in the output) and keep the clipped section on top with position: relative and z-index: 1.
Does it work in Webflow, WordPress or Framer?
Yes — add the clip-path as custom CSS on the section (in Webflow, an Embed with a style tag or custom code). It is plain CSS supported by all current browsers.
Can I install Section Divider Generator as a web app and use it offline?
Yes. Section Divider Generator is an installable web app (PWA) — installed from your browser, not downloaded from an app store. Click Install app at the top of this page in Chrome or Edge (Windows, macOS, Linux, ChromeOS) or on Android, use Share → Add to Home Screen on iPhone and iPad, or File → Add to Dock in Safari 17+ on a Mac. It then opens in its own window with its own icon, and because it runs entirely in your browser it keeps working offline. Firefox on desktop can’t install web apps. How installing works.

Related tools