0

CSS corner-shape playground

Experiment with corner-shape and border-radius to build rounded, beveled, notched, or scooped corners by corner or pair with modern CSS.

Ask AI

CSS corner-shape playground

Response generated with openai/gpt-5.4-nano. AI can make mistakes. Always review the result.
corner-shape
HTML
<div class="corner-shape" dir="ltr"></div>
Tailwind CSS
Some classes with arbitrary values can be replaced by native classes, depending on the value and your Tailwind CSS configuration.
<div class="inline-[250px] block-[250px] bg-slate-900 border-2 border-solid border-[#94a3b8] rounded-[40px] [corner-shape:round]" dir="ltr"></div>
CSS
.corner-shape {
  inline-size: 250px;
  block-size: 250px;
  border-radius: 40px;
  corner-shape: round;
  background-color: #0f172a;
  border: 2px solid #94a3b8;
}