W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2020

Re: [csswg-drafts] [css-shapes] Find a way to create a polygon with rounded-corners and non-absolute coordinates (#5674)

From: Noam Rosenthal via GitHub <sysbot+gh@w3.org>
Date: Thu, 29 Oct 2020 17:24:25 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-718903592-1603992264-sysbot+gh@w3.org>
@tabatkins 
WDYT, more like this:
`clip-path: path(
    move(to 12px calc(8em - 1px)),
    line(to 50% 50%),
    curve(to 20px var(--something)),
    quadratic-curve(by 2px 8px),
    close()
)`
or like this:
`clip-path: path(
    M 12px calc(8em - 1px),
    L 50% 50%,
    C 20px var(--something),
    q 2px 8px,
    Z
)`


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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 29 October 2020 17:24:27 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:21 UTC