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

Did run across a 4 corner notched example. Something like `corners: angle 8px;`:

https://www.zelda.com/links-awakening/

![image](https://user-images.githubusercontent.com/1286791/150854979-97afb616-208a-4342-b1c5-b202f4477320.png)

Very much agree that corner-shape for polygons gets messy. Once you start using the slash syntax to give corners different widths and heights things get hard to follow. And even more when you throw a 100% corner height or width in it kinda ceases to be a corner anymore.

Didn't @tabatkins post something on twitter not too long ago about an idea for a CSS syntax for creating SVGs?

What makes the polygon creating an issue is all the `calc(100% - var(--corner-size))` repetition. Would it be possible to come up with a unit that was a `100% - value` unit?

-- 
GitHub Notification of comment by jsnkuhn
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6980#issuecomment-1020506746 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 20:16:54 UTC