mastodon.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
The original server operated by the Mastodon gGmbH non-profit

Administered by:

Server stats:

361K
active users

Ana Tudor 🐯

wish: for browsers to implement the `src()` (drafts.csswg.org/css-values/#f) and `filter()` (github.com/web-platform-tests/) functions.

Combined with the improved `attr()`, this would allow us to give images borders that are gradient versions of themselves using a `border-image` CSS declaration.

Safari supports the `filter()` function, which allows us to apply a filter to just the `border-image-source`. It's not ideal, as we still need to have the image link twice, once in the `src` attribute and once in a custom property set on the same `img`. Oh, well... at least it doesn't require any extra elements, just the `img` suffices.

@codepen demo, but remember, it only works in Safari codepen.io/thebabydino/pen/XWx