Skip to content

corner-shape #398

Open
Open

Description

@github-actions

This GitHub issue is for collecting web developer signals for corner-shape.

The corner-shape CSS property sets the shape of an element's corners when using border-radius, allowing for shapes other than rounded corners. For example, corner-shape: squircle is a shape in between a square and rounded corner.

Browser support

chromeavailable edgeavailable firefoxunavailable safariunavailable
  • Chrome 139 (Aug 5, 2025)
  • Chrome Android 139 (Aug 5, 2025)
  • Edge 139 (Aug 7, 2025)
  • Firefox: not supported
  • Firefox for Android: not supported
  • Safari: not supported
  • Safari on iOS: not supported

Give us feedback

If you're pressed for time, but you want this feature to be available in all browsers, please give this issue a thumbs up 👍 reaction.

However, a much better guide for us is to know how you'd use this feature, and what you're having to do in the meantime. This helps us judge the priority versus other features.

Copy the template below in a comment, and add the details that matter to you.

## What I want to do with this feature

<!-- Add your specific use-cases, even if they seem obvious to you. -->

## What I'm having to do in the meantime

<!--
Are you having to use another feature instead, a polyfill, or is it blocking you completely?
Why are the alternatives worse than using this feature?
-->

All comments are expected to adhere to the Code of Conduct.

Learn more

You can learn more about this feature here:

Activity

  1. 80GritPolymath commented on Sep 16, 2026

    @80GritPolymath

    What I want to do with this feature

    Better HUD-style UI elements.

    What I'm having to do in the meantime

    SVG shapes for containers.

  2. jakearchibald commented on Sep 16, 2026

    @jakearchibald
    Collaborator

    For folks wanting this feature, I'm curious to know if border-shape would serve you better, and if not, why.

    My gut feeling is that supporting corner-shape in addition to border-shape would be a small lift, but in case it comes down to a choice, I want all the data 😄

  3. matthewmorete commented on Sep 16, 2026

    @matthewmorete

    border-shape is significantly more powerful so if there was a choice between the two I'd prefer border-shape. But for some common use cases corner-shape is so much easier to use.
    Bevel corners with border-shape requires at least 8 commands and 8 var calls to get the same control that corner-shape gets in 2 short properties.

  4. Afif13 commented on Sep 16, 2026

    @Afif13

    I am 1000% for using only border-shape, but I want to highlight a specific use case only doable with corner-shape. The latter works with border-style, so we can, for example, have a "double" or "dotted" configuration using corner-shape and not with border-shape.

    Image

    As for syntax complexity, there will be a lot of generators for different shape() (I've already made a few of them), so it won't be a big deal in the future.

  5. yisibl commented on Sep 17, 2026

    @yisibl

    I'd like to add that both Firefox and Safari are implementing corner-shape; especially Safari should be reaching the “Ship” status soon.
    cc @smfr

  6. shiromu-kara commented on Oct 4, 2026

    @shiromu-kara

    What I want to do with this feature

    My work consists of coding stream overlays and sometimes the design isn't just a simple rounded corner

    What I'm having to do in the meantime

    I have to do 4 mask-images -- 1 for each corner, even when I only need 1 corner -- and the results may leave a thin gap in the middle of the shape if not configured correctly. and since I'm mostly code with Firefox, the result may differ when viewed in Chromium(-based browsers), which what OBS and most people use

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions