Re: [csswg-drafts] [css-borders][css-images] Properly address border image use cases, and kill `border-image` with fire (#9714)

Have noticed some folks lately talking about using `border-image` as a translucent overlay for background-image(s). This works well but breaks if `border-radius` is added.

```css
border-image: fill 0 linear-gradient(#0003,#000);  
```

https://www.youtube.com/watch?v=NwnZU6mWJkk

While this is traditionally done with an extra background layer I wonder if a decoration layer might be a good home for this kind of thing to keep the overlay separate from the background/borders.

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


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

Received on Tuesday, 25 June 2024 20:30:35 UTC