Configure border width, style, color and corner radius.
Set border width, style, color and corner radius with a live preview and copy the two CSS lines. You can use one radius for all corners or set each corner separately. It is quick for developers who want rounded boxes and dashed or double borders without looking up syntax.
The border shorthand sets the width, style and color of an element's edge, in that order, for example 3px solid #6366f1. The style can be solid, dashed, dotted, double, groove, ridge, inset or outset; without a style no border is drawn. The border-radius property rounds the corners of the box. One value rounds all four corners equally. Four values apply, in order, to the top left, top right, bottom right and bottom left corners, going clockwise from the top left. A radius large enough relative to the box produces pill and circle shapes. Rounding also clips the background and the border to the curved edge.
Top left, top right, bottom right, bottom left. That is the order of the four fields and of the values in the border-radius line, matching CSS clockwise order starting at the top left.
No. The tool outputs one border shorthand for all four sides. For different widths or colors per side, edit the copied CSS or use border-top and similar properties.
No. Each corner takes a single pixel value, which creates a circular curve. The slash syntax for horizontal and vertical radii is not generated.
Every radius value is written with the px unit, including zeros. 0px is valid CSS and means the same as 0.
Yes. The preview box uses the same width, style, color and radius values that appear in the CSS output.