- From: jsnkuhn via GitHub <sysbot+gh@w3.org>
- Date: Fri, 30 Aug 2024 19:58:42 +0000
- To: public-css-archive@w3.org
played around with the webkit implementation a bit and found I was making a bad assumption that we'd be able to use different `background-clip` values on different `background` layers. As in use one image as a background and another as a border with `background-clip: border-box, border-area`. But `background-clip` only takes one value and clips through all the layers. Was able to add a fake "background-color" with a `box-shadow: inset 0 0 0 9999px rgb(0 0 0 / .25);`. I assume we might be able to use this to make a simple gradient as well with multiple box-shadows. But feels pretty hacky. https://codepen.io/jsnkuhn/pen/abgawda ![image](https://github.com/user-attachments/assets/473c07c8-289f-489a-8908-0024c588dc9f) -- GitHub Notification of comment by jsnkuhn Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9456#issuecomment-2322246475 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 30 August 2024 19:58:43 UTC