Re: [csswg-drafts] New `border-radius` value for perfectly matching nested radii (#7707)

agree, `match-nearest-parent` is weak compared to specifying which container to compute against 👍🏻 

could combine @justinfagnani and @DarkWiiPlayer) suggestions?

```css
.card {
  container: card / normal;
  border-radius: 24px;
}

.card picture {
  border-radius: concentric(card) concentric(card) 0 0;
}
```

if authors don't specify the container, it's the nearest container by default:

```css
.card picture:only-child {
  border-radius: concentric();
}
```

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


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

Received on Monday, 6 March 2023 19:44:51 UTC