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

found the tweet I mentioned above:
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Working on this really makes me want to take up the &quot;SVG embedded in CSS&quot; project again, so you could write:<a href="https://twitter.com/svg?ref_src=twsrc%5Etfw">@svg</a> --bg {<br> width: 200px;<br> height: 300px;<br> <a href="https://twitter.com/rect?ref_src=twsrc%5Etfw">@rect</a> {<br> x: 0; y: 0; width: 100%; height: 100%;<br> fill: green;<br> }<br>}<br><br>Then `background: svg(--bg);` to use it.</p>&mdash; pascal&#39;s banger (@tabatkins) <a href="https://twitter.com/tabatkins/status/1473811702386872323?ref_src=twsrc%5Etfw">December 23, 2021</a></blockquote>

Also was just thinking that when `border-radius` was added I think it was just that folks wanted the rounded corners? but the ability to do circles with the `border-radius: 50%;` value just came along with it? It occurs to me that the same sort of things happens with the angled corner. Except it would be 2 shapes. `corners: angle 50%;` would gets you a diamond shape and `corners: angle 25%;` would give a fairly even octagon.

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


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

Received on Wednesday, 26 January 2022 02:48:40 UTC