-
Notifications
You must be signed in to change notification settings - Fork 688
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css-backgrounds] Add support for squircle and superellipse to corner-shape #6296
Comments
How about allowing |
I think adding keyword I would expect that most authors would use The use cases for more complex corner shapes are rare enough so there isn't need for such clean solutions there and the authors can be expected to use more verbose syntax such as SVG paths for every corner. |
Merging into #10993 |
The
corner-shape
property is currently defined in the Backgrounds 4 module.I’m posting this issue so that folks who want a simple way in CSS to make a box in the shape of a squircle or superellipse* can find this issue and upvote it.
The idea to add this feature to the
corner-shape
property was suggested by @AmeliaBR on Twitter.squircle.mp4
*For more information, see Pavel Laptev’s article “Squircles on the Web — Houdini to the rescue.”
The text was updated successfully, but these errors were encountered: