Understanding the Border-Radius Property
The border-radius CSS property rounds the corners of an element's outer border edge. You can round corners infinitely until a perfect circle is formed, or designate specific corners explicitly to create modern card layouts, tooltip points, or UI buttons.
Standard 4-Point Geometry
Simple pixel declarations function sequentially starting clockwise from the top-left coordinate. For example: border-radius: 10px 20px 30px 40px; defines the Top-Left, Top-Right, Bottom-Right, and Bottom-Left explicitly in order.
Advanced 8-Point "Blob" Geometry
To create organic, asymmetrical blobs that stray from perfect ellipses, the spec offers an 8-point syntax separated by a slash (/). It dictates horizontal-radii / vertical-radii.
- Values before the slash dictate the X-axis curves for Top-Left, Top-Right, Bottom-Right, Bottom-Left sequences.
- Values after the slash dictate intersecting Y-axis limits respectively to morph those boundaries irregularly.
This generator computes both methodologies seamlessly in real-time, outputting perfectly sanitized syntax ready for production stylesheet ingestion.