Re: [csswg-drafts] [css-backgrounds-4] Use cases for corner-shape (#6980)

@SelenIT wrote:

> Anothe useful, though not much used because of difficuilty of implementation, corner shape seems to be the "squircle" or "superellipse" shape, or at least its approximation with Bezier curves. Searching for "CSS squircles" shows quite a lot of attempts to solve it with existing tools (mostly complex clip-path or even Houdini).

In #6296 I suggested `cubic-bezier()` as a way of getting squircular corners without needing syntax for arbitrary shapes:

> How about allowing `cubic-bezier()` as an alternative to `round`? Syntax would be the same as in [`animation-timing-function`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-timing-function), and it would be scaled and flipped appropriately for each corner.

-- 
GitHub Notification of comment by Lorp
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6980#issuecomment-1020380629 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 24 January 2022 17:57:27 UTC