Border-radius-voorvertoning

Bewerk CSS border-radius visueel met schuifregelaars, voorinstellingen en een live voorvertoning — kopieer de CSS met één klik

border-radius: 20px;
Voorinstellingen
Top Left20px
Top Right20px
Bottom Right20px
Bottom Left20px
Kleur
Breedte
Hoogte

Border-radius-voorvertoning

Bewerk CSS border-radius visueel met schuifregelaars, voorinstellingen en een live voorvertoning — kopieer de CSS met één klik

Functies

  • Live preview of `border-radius` with per-corner controls (TL / TR / BR / BL)
  • Eight named presets (rounded, pill, leaf, blob, ticket, etc.)
  • Output as CSS shorthand: `border-radius: 10px 20px 5px 15px;` or single value if all corners match
  • Elliptical corners (the slash syntax `40px / 20px`) are not directly editable in this UI — set all four corners equal for symmetric output
  • Copy the CSS line to clipboard with one click

Hoe te gebruiken

  1. Sleep de schuifregelaars om elke hoek aan te passen.
  2. Of klik op een voorinstelling voor snelle vormen.
  3. Kopieer de gegenereerde CSS-eigenschap.

Tips en best practices

  • Single value (e.g. `border-radius: 8px`) applies to all four corners — the most common case.
  • Four-value shorthand goes TL / TR / BR / BL (clockwise from top-left).
  • Elliptical corners (`Xpx Ypx / Xpx Ypx`) give a "leaf" or asymmetric shape — supported in CSS but not exposed in this UI.
  • For animated radius changes, transition `border-radius` directly — the property is animatable.
  • Mobile / iOS Safari: corner radius up to ~50% of the smaller side renders as a perfect circle (`border-radius: 50%`).

Veelgestelde vragen

Wat is border-radius?

CSS border-radius rondt de hoeken van een element af. U kunt alle hoeken gelijk instellen of elke hoek afzonderlijk regelen.

Wanneer moet ik % in plaats van px gebruiken?

Gebruik px voor vaste afronding. Gebruik % voor vormen relatief aan de elementgrootte — 50% maakt een cirkel van een vierkant element.