ToolKun
CategoriesAbout Us
ToolKun

All-in-one online tool platform providing various useful tools to boost your productivity.

Quick Links

  • All Tools
  • Categories
  • Latest Tools
  • Tutorials

Support

  • Help Center
  • Contact Us
  • Feedback
  • About Us
  • Privacy Policy
  • Terms of Service
  • Sitemap
  • Gemini Watermark Remover

© 2026 ToolKun. All rights reserved.

Made with ❤️ for developers and creators

Border Radius Generator for CSS Rounded Corners

Online CSS border-radius visual generation tool

Visual editing
Individual corner control
Preset shape templates
Preview
Settings
px
px
px
px
Preset Shapes
CSS Code
border-radius: 16px;

Border Radius Generator is an intuitive CSS border-radius visual editing tool that lets you create beautiful rounded corners without writing code. It supports independent control of all four corners, elliptical radii, and complex irregular shapes. Drag sliders or enter precise values to preview rounded corners in real-time, then copy the generated CSS code to your project with one click.

Understanding Border-Radius

The CSS border-radius property defines the radius of an element's border corners. It supports shorthand syntax with 1-4 values for each corner. Each corner can have horizontal and vertical radii separated by /, creating elliptical corners. When using percentages, horizontal radius is relative to element width, vertical radius to height.

Design Applications

  • Rounded buttons and cards
  • Creating circular avatars and icons
  • Pill-shaped labels and badges
  • Decorative irregular shapes
  • Smooth UI component transitions

Advanced Border-Radius Techniques

By combining different values for each corner, you can create unique shapes: leaf shapes, teardrops, speech bubbles, and more. Combined with overflow:hidden, child elements can be clipped to rounded shapes; with box-shadow, you can create richer visual depth. A 50% radius transforms squares into circles.

FAQ

Q: What's the order of border-radius values?

A: Border-radius follows CSS clockwise order: top-left, top-right, bottom-right, bottom-left. One value applies to all corners; two values apply to top-left/bottom-right and top-right/bottom-left; three values apply to top-left, top-right/bottom-left, bottom-right; four values apply to each corner sequentially.

Q: How do I create a perfect circle with border-radius?

A: To create a perfect circle, the element must be square (equal width and height), then set border-radius to 50% or a pixel value at least half the side length. Percentages are more flexible as they automatically adapt to size changes.

Q: Does border-radius affect the clickable area?

A: Yes, border-radius affects the element's clickable area. Areas outside the rounded corners won't respond to clicks, and the cursor won't change. This is important for designing interactions with circular buttons and irregular shapes.