Cette page n’est pas encore traduite en français : elle s’affiche en anglais.

Angled Section CSS — Slanted & Diagonal Section Generator

Build angled, slanted or diagonal sections — the classic landing-page look — with one clip-path rule. Choose which edge to angle, flip the direction and set how deep the cut is.

Mis à jour le

Your section

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

The next section shows through the cut.

CSS

Vos données ne quittent jamais votre ordinateur. Tout le traitement se fait localement dans votre navigateur.

Comment utiliser : Angled Section CSS

  1. The preview starts with an angled bottom edge. Choose Both for a slanted band, or Top.
  2. Use Flip horizontally to change the slant direction.
  3. Set the cut depth in px (fixed angle) or vw (scales with the screen).
  4. 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.

Aussi recherché comme : slanted section css, diagonal section css, css angled background, skewed section css, css diagonal divider, angled hero section.

Outils complémentaires : 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.

Questions fréquentes

How do I angle both the top and bottom of a section?
Choose the Both edge: the polygon cuts the top and bottom in parallel, giving a slanted band — clip-path: polygon(0 80px, 100% 0, 100% calc(100% - 80px), 0 100%).
Should I use skewY or clip-path?
clip-path. skewY tilts the text and images inside the section too, so you need a second, reversed skew on the content; clip-path only cuts the edge.
How do I keep the angle the same on mobile?
Use a vw cut depth: the cut scales with the screen width, so the angle stays the same at every width.
Puis-je installer Angled Section CSS en tant qu’application web et l’utiliser hors ligne ?
Oui. Angled Section CSS est une application web installable (PWA) : elle s’installe depuis votre navigateur, sans passer par une boutique d’applications. Cliquez sur « Installer l’application » en haut de cette page dans Chrome ou Edge (Windows, macOS, Linux, ChromeOS) ; sur Android, utilisez « Partager » → « Ajouter à l’écran d’accueil » sur iPhone et iPad ; ou « Fichier » → « Ajouter au Dock » dans Safari 17+ sur Mac. L’application s’ouvre alors dans sa propre fenêtre avec sa propre icône, et comme elle s’exécute entièrement dans votre navigateur, elle continue de fonctionner hors ligne. Firefox sur ordinateur de bureau ne permet pas d’installer d’applications web. Comment fonctionne l’installation.

Outils similaires