- From: Adam Argyle via GitHub <sysbot+gh@w3.org>
- Date: Mon, 06 Mar 2023 19:44:50 +0000
- To: public-css-archive@w3.org
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