Set angle and height
Drag the angle slider and set a divider height in pixels to control how steep and how tall the diagonal cut is.
Design an angled break between two page sections and copy the ready-to-use CSS clip-path or SVG shape.
Drag the angle slider and set a divider height in pixels to control how steep and how tall the diagonal cut is.
Choose the two section colors and whether the diagonal cuts into the top section or the bottom section.
Copy the generated clip-path CSS, or the equivalent SVG polygon, and paste it straight into your page.
No. Everything is generated with plain HTML, CSS and JavaScript running locally in your browser. Nothing you choose is uploaded or sent anywhere.
Yes. The generator also outputs a plain SVG polygon with the same diagonal edge, which you can drop into a page as inline SVG, an <img>, or a background image.
Yes. The generated clip-path uses percentage-based points, so the diagonal scales automatically with the width of its container on any screen size.