codipry.

Keyboard shortcuts

Use Ctrl on Windows/Linux or Command on macOS. Shortcuts respect focused text fields.

Ctrl/⌘ K
Open or close tool search
?
Open this reference outside text inputs
Escape
Close the active dialog
Ctrl/⌘ S
Save the current Playground project
Ctrl/⌘ Enter
Run the Playground preview
Tab
Move between controls; inside code typing, insert two spaces
Shift Tab
Move to the previous control

Monaco also provides its own command palette. Browser and operating-system shortcuts can take priority.

Start creating
Frontend PlaygroundcodeResponsive LabcodeGradient GeneratordesignBox Shadow GeneratordesignText Shadow GeneratordesignBorder Radius GeneratordesignFlexbox GeneratordesignCSS Grid GeneratordesignAnimation GeneratordesignGlassmorphism GeneratordesignClip Path GeneratordesignFluid Type GeneratordesignColor StudiodesignGit Command BuildergitGit VisualizergitMerge vs. RebasegitSQL Joins VisualizerdatabaseSQL Clause ExplorerdatabaseDatabase RelationshipsdatabaseSQL FormatterdatabaseSQL PlaygrounddatabaseTyping TestpracticeCode Typing TestpracticeJSON FormattercodeCSV / JSON ConvertercodeText DiffcodeRegex TestercodeEncoding ToolscodeHash GeneratorcodeTimestamp ConvertercodeCSS Transform GeneratordesignCSS Filter GeneratordesignDesign Token ExporterdesignGit Conflict TrainergitSQL Schema Explorerdatabase
Design / CSS Studio

Border Radius Generator

Shape every corner with independent horizontal and vertical radii.

Opening CSS Studio…

How to use Border Radius Generator

CSS can curve each corner differently. The four horizontal radii and four vertical radii are separated by a slash, allowing elliptical corners and organic shapes.

  1. Set the horizontal top-left, top-right, bottom-right and bottom-left percentages in clockwise order.
  2. Adjust the four vertical radii separately to stretch each corner. Percentages refer to the element’s width horizontally and height vertically.
  3. Use a square preview to find a starting shape, then test the output on your real element’s dimensions.

A practical starting point

Pair opposite large corners for a lozenge-like card while keeping the other pair nearly square.

border-radius: 12% 48% 12% 48% / 18% 42% 18% 42%;

Common mistakes

  • A percentage radius changes with the element’s dimensions. Use pixel values in your project when you need a fixed curve.
  • When adjacent radii would overlap, browsers proportionally reduce them. A 100% corner does not guarantee a full-width arc.

Frequently asked questions

Why does the same CSS look different on a rectangle?

Percentage radii use the element’s own width and height, so an elliptical corner scales differently on a rectangle.