Pinatool
Responsive SVG & CSS Transitions

CSS Section Divider Generator

Design seamless wave, curve, slant, zigzag, triangle, and spike transitions between page sections. Customize edge placement, height, and colors, then export HTML, CSS, or SVG.

Section Transition Preview

Preview how the SVG divider bridges two adjacent page sections.

1200×120 viewBox

Active Section

Seamless wave section divider

Responsive full-width SVG path with preserveAspectRatio="none".

Next Section

Divider Shape

Placement Edge

Runs 100% locally in your browser.

Generated HTML & CSS

Copy the section HTML, responsive CSS, or download the standalone SVG divider.

<section class="section-with-divider">
  <div class="section-content">
    <!-- Your section content -->
  </div>
  <div class="section-divider">
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none" aria-hidden="true">
      <path d="M 0 56 Q 100 23.68 200 56 Q 300 88.32 400 56 Q 500 23.68 600 56 Q 700 88.32 800 56 Q 900 23.68 1000 56 Q 1100 88.32 1200 56 L 1200 120 L 0 120 Z" fill="currentColor" />
    </svg>
  </div>
</section>

.section-with-divider {
  position: relative;
  overflow: hidden;
  background: #0f1d3a;
  padding: 5rem 1.5rem;
}

.section-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 96px;
  color: #f8fafc;
  line-height: 0;
  transform: scaleX(1) scaleY(1);
}

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

How to Add a Custom Section Divider

1

Choose Shape & Edge

Pick Wave, Curve, Slant, Zigzag, Triangle, or Spikes and place the divider on the top or bottom edge of your section.

2

Tune Height, Curve & Colors

Adjust height, curve intensity, repeat frequency, and match the divider color to your adjacent section background.

3

Export HTML, CSS & SVG

Copy the responsive HTML and CSS or download a standalone SVG file for your design system.

Section Divider Generator Features

6 Parametric Divider Shapes

Switch between waves, curves, slants, zigzags, triangles, and spikes with live amplitude and frequency controls.

Subpixel-Safe Positioning

Uses a -1px edge overlap and preserveAspectRatio="none" so dividers scale edge-to-edge without hairline seams.

100% Browser-Local

Everything renders and exports locally in your browser with zero server requests.

Frequently Asked Questions

Why does the divider use preserveAspectRatio="none"?

Setting `preserveAspectRatio="none"` allows the SVG divider to stretch cleanly across any viewport width while keeping the exact pixel height you configure in CSS.

Why is the divider positioned at -1px on the top or bottom edge?

A `-1px` offset prevents subpixel rendering hairlines between adjacent sections on high-DPI displays and fractional browser zoom levels.

How do I match the divider color to the next section?

Set the Divider / Next Color picker to the exact background color of the adjacent section. The generated CSS applies that color via `currentColor` on the SVG path.

Can I flip the divider upside down or horizontally?

Yes. Switching between Bottom Edge and Top Edge flips the divider vertically via `scaleY(-1)`, and toggling Flip Horizontally mirrors it via `scaleX(-1)`.

Is anything uploaded to a server?

No. All divider paths, previews, and HTML/CSS/SVG exports run locally in your browser.