ToolPal

CSS 圆角生成器

通过实时预览可视化生成 CSS border-radius 值。可以单独或统一控制每个角,选择 px 或 % 单位,一键复制 CSS。

所有角
px

预览

CSS 输出

border-radius: 12px;

使用方法

通过实时预览可视化生成 CSS border-radius 值。可以单独或统一控制每个角,选择 px 或 % 单位,一键复制 CSS。

  1. 1Choose a mode: start with Uniform to set all corners at once, or switch to Individual mode to control each corner separately for asymmetric designs.
  2. 2Select your unit — px for absolute sizes or % for relative sizes. Use % and set all corners to 50% to create a perfect circle on square elements.
  3. 3Adjust the sliders or type values directly. The live preview box updates instantly so you can see exactly how your shape will look.
  4. 4Click Copy to get the CSS rule. The generator automatically uses the shorthand format: border-radius: TL TR BR BL.

主要功能

  • Live visual preview — see your border-radius changes instantly in a real element preview
  • px and % units — supports both absolute and relative values for circles, pill shapes, and organic forms
  • Uniform and individual corner modes — symmetric shapes or full independent control
  • Smart CSS shorthand output — single value when all corners match, 4-value shorthand when they differ

常见问题

了解更多