Skip to content

border-shape #555

Open
Open

Description

@github-actions

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

The border-shape CSS property sets the geometry of the border box, changing the shape of any applicable border, border image, focus outline, or shadow.

Browser support

chromeavailable edgeavailable firefoxunavailable safariunavailable
  • Chrome 147 (Apr 7, 2026)
  • Chrome Android 147 (Apr 7, 2026)
  • Edge 147 (Apr 10, 2026)
  • 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. phantomxx29474 commented on Sep 14, 2026

    @phantomxx29474

    What I want to do with this feature:

    The most obvious use case for the border-shape property is for an element to still retain its shapes as well as its shadows and borders without the element masking or clipping them out. Developers have been relying on various hacks on psuedo elements, masks and box-shadows to achieve these effects that they desire when using the clip-path property. The clip-path property's only disadvantage is that as soon as the developer draws a certain shape of any kind, it also removes box shadows and borders from that element.

    The border-shape property is a very powerful and solves this problem, that way developers can be able to draw shapes of an element and still retain their box shadows and borders without relying on the previous hacks that we used in the past. I am certain for sure that developers will be very happy if this property is supported in alll major browsers, since the shape() for the clip-path property became officially baseline thanks to Interop 2026.

    What I'm having to do in the meantime:

    I will have to rely on other elements to the element to draw the shape using the clip-path property and use the previous hacks that I previously mentioned.

    Also here are some videos and sources that explain the disadvantages of the previous hacks that we used and the border-shape property's capabilities:

    https://youtu.be/1rC4tPgpusU?si=yVTUBQ6ANTaIHQCv

    https://youtu.be/Z2iPLBS1bSY?si=9e121DNunT5GTlnZ

    https://css-tricks.com/get-ready-for-the-powerful-css-border-shape-property/

    https://una.im/border-shape

    Developers are very happy that the property was first implemented from Chrome and are waiting for other browsers to implement this feature alongside with the corner-shape property.

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