Skip to content

[css-backgrounds] Clothoid Corners for border-radius #9876

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

Closed
petamoriken opened this issue Jan 30, 2024 · 2 comments
Closed

[css-backgrounds] Clothoid Corners for border-radius #9876

petamoriken opened this issue Jan 30, 2024 · 2 comments

Comments

@petamoriken
Copy link

original: https://note.com/onopko/n/n9358eb1262eb

Some UIs, like the native iOS UI, are cornered using a clothoid curve. I believe that supporting this in CSS will increase expressiveness and interoperability.

.box {
    border-radius: clothoid(3em);
}

https://drafts.csswg.org/css-backgrounds/#border-radius

@petamoriken
Copy link
Author

This proposal seems to be proposed as a squircle in css-borders.
#6980

@silasabbott
Copy link

^ I added an example of this to that issue

#6980 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants