Pinatool

CSS Inverted Border Radius Generator

Create smooth concave corners that standard CSS border-radius cannot achieve. Select individual corners, add contour-following borders, and export scalable CSS masks or SVG vector cutouts.

Concave Corner Preview

Vector-masked concave cutouts that scale responsively with border continuity

Concave Geometry

Inverted Radius

Scalable vector mask cutouts bending smoothly into the container perimeter.

Corner Cutout Presets
Ready to customize concave corners.

Ready to customize concave corners.

Production CSS & Mask

Scalable SVG data URIs with cross-browser WebKit mask support

.inverted-corner-frame {
  box-sizing: border-box;
  width: 440px;
  max-width: 100%;
  aspect-ratio: 440 / 300;
  padding: 6px;
  background: #14b8a6;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20440%20300%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M%2048%200%20H%20440%20L%20440%200%20V%20252%20Q%20392%20252%20392%20300%20H%200%20L%200%20300%20V%2048%20Q%2048%2048%2048%200%20Z%22%20fill%3D%22%23000000%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20440%20300%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M%2048%200%20H%20440%20L%20440%200%20V%20252%20Q%20392%20252%20392%20300%20H%200%20L%200%20300%20V%2048%20Q%2048%2048%2048%200%20Z%22%20fill%3D%22%23000000%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;
}

.inverted-corner-content {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  background: #ffffff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20428%20288%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M%2042%200%20H%20428%20L%20428%200%20V%20246%20Q%20386%20246%20386%20288%20H%200%20L%200%20288%20V%2042%20Q%2042%2042%2042%200%20Z%22%20fill%3D%22%23000000%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20428%20288%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M%2042%200%20H%20428%20L%20428%200%20V%20246%20Q%20386%20246%20386%20288%20H%200%20L%200%20288%20V%2042%20Q%2042%2042%2042%200%20Z%22%20fill%3D%22%23000000%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;
}

Corner Cutouts

Toggle Inverted Corners
Geometry & Inverted Radius
Color Palette

How It Works

1

Select Concave Corners

Toggle any of the four corners or pick a preset like Ticket Stub, Diagonal Notch, or Quad Cutout.

2

Fine-Tune Radius & Borders

Adjust the concave radius curve, container dimensions, and add a contour border that tracks the inner curves.

3

Copy CSS or Download SVG

Copy production CSS data URIs with cross-browser mask support, grab semantic HTML, or download an SVG mask.

CSS Inverted Border Radius Generator Key Features

Independent Corner Control

Invert individual corners without complex math. Create badges, ticket coupons, and editorial frames with ease.

Dual-Layer Concave Geometry

Adjust width, height, and inward curve radius with real-time checkerboard, light, and dark stage previews.

Contour-Following Borders & SVG / CSS Mask Export

Ensure borders and strokes follow every straight edge and concave cutout cleanly, then export ready-to-use CSS mask rules or standalone SVG files.

Frequently Asked Questions

Why does standard CSS not support inverted border radius?

The CSS Backgrounds and Borders specification only defines convex rounding (curving outwards from the box corners). Native negative or concave border-radius values are not supported in CSS. This tool solves the limitation by synthesizing scalable SVG vector masks that curve smoothly inward into the element.

How does the border follow the concave cutout?

The generator creates a nested two-layer architecture: an outer frame masked to the outer perimeter and an inner content container masked to an inset geometry. The padding between them reveals the border color along every straight edge and concave curve seamlessly.

Does the shape remain responsive when resized?

Yes. The embedded vector mask sets preserveAspectRatio="none", allowing the concave corners to scale proportionally with your container width and height across responsive layouts.

Can I invert only specific corners?

Yes. You can independently toggle each of the 4 corners (Top Left, Top Right, Bottom Right, and Bottom Left) or choose from built-in presets like Ticket Stub, Diagonal Notch, Quad Cutout, or Top Tabs.

Can I export standalone SVG files?

Yes. In addition to copy-ready CSS and semantic HTML, you can download a standalone .svg vector graphic ready to import into Figma, Illustrator, or your web assets directory.