Toolvist

Generador de border-radius CSS

Da forma al border-radius CSS con controles para cada esquina y copia la regla final. Generador gratuito para botones, tarjetas y elementos tipo píldora.

Generador de esquinas redondeadas CSS gratuito

El Generador de border-radius crea esquinas redondeadas con vista previa en vivo. Controla cada esquina de forma independiente o enlázalas, luego copia el CSS.

Rounded corners pair naturally with the CSS Box Shadow Generator and the Glassmorphism CSS Generator. For more elaborate shaping, the CSS Clip-Path Maker goes further than a radius can.

Cómo usar Radio de borde

  1. 1 Set the values for each corner, or use the link control to keep them equal.
  2. 2 Switch to the elliptical mode to set a horizontal and vertical radius separately per corner.
  3. 3 Check the preview — very large radii on a small element produce a shape rather than a rounded rectangle.
  4. 4 Copy the generated `border-radius` declaration.

Cómo usarlo

Arrastra los deslizadores para ajustar el radio de cada esquina. Activa "Enlazar esquinas" para aplicar un mismo valor a las cuatro y luego copia el CSS generado.

  • Control independiente de las cuatro esquinas
  • Enlace opcional para un radio uniforme
  • Cuadro de vista previa en vivo

Preguntas frecuentes

How do I make a pill-shaped button?

Set the radius to half the element's height, or simply use a value larger than half the height, since the browser clamps it. A `border-radius: 9999px` on a button is a common idiom for exactly this reason — any value beyond half the height produces the same fully rounded ends.

What does the slash syntax in border-radius do?

It separates the horizontal radii from the vertical ones. `border-radius: 50% / 20%` gives an ellipse whose horizontal radius is half the width and vertical radius a fifth of the height. Without the slash, the same value applies in both directions and you get a circle.

Why does my rounded corner look wrong on a small element?

Because the radius competes with the element's size. Once the horizontal radius exceeds half the width, the two corners on that edge meet and the shape becomes a curve rather than a rectangle with rounded ends. The browser clamps it, so the result is a shape you may not have intended rather than a broken rendering.

Herramientas para desarrolladores relacionadas

Ver todo en Herramientas para desarrolladores →

También te puede interesar

Herramientas de otras categorías que suelen combinarse con Radio de borde:

Explorar el directorio completo →