How to use the Angled Section CSS
- The preview starts with an angled bottom edge. Choose Both for a slanted band, or Top.
- Use Flip horizontally to change the slant direction.
- Set the cut depth in px (fixed angle) or vw (scales with the screen).
- Copy the CSS.
Angled sections without skew
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6vw), 0 100%) slants the bottom edge of a section while the text inside stays straight — unlike transform: skewY(), which tilts the content too. Pull the next section up under the angle with a negative margin so its background fills the gap.
Other edge shapes — curves, arrows, waves and zigzags — are in the Section Divider Generator.
Also searched as: slanted section css, diagonal section css, css angled background, skewed section css, css diagonal divider, angled hero section.
Tools that pair well with the Angled Section CSS
- Curved Section Divider — Round off the edge of a hero or section with a curve — convex, scooped, a curved angle, a gentle wave or scallops — using only CSS.
- Zigzag Border CSS — Cut a zigzag, sawtooth, scalloped or stepped edge into sections, cards, coupons and receipt designs.
- SVG Wave Generator — Design wavy section dividers for landing pages: add or remove waves (up to 6, each with its own color, opacity and shape), set the number of crests, height and smoothness, choose colors and whether the wave sits at the top or bottom.
- 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.