All Tools

CSS Border Radius Generator

Design CSS border-radius interactively. Lock all four corners together for uniform rounding or control each corner individually for asymmetric shapes. Copy the generated border-radius value directly into your stylesheet.

Corners

Preview

Generated CSS

Tips & tricks

  • Set all corners to 50% to create a perfect circle (works on square elements).
  • A shorthand like border-radius: 8px applies to all corners equally.
  • Four values follow the order: top-left, top-right, bottom-right, bottom-left (clockwise).
  • Mix pixel values with percentages using the CSS longhand properties like border-top-left-radius.
  • The border-radius property clips the background but not the outline — use overflow: hidden to clip child elements too.