8000 Add rounded-gradient utility, similar to the border-gradient by GrimLink · Pull Request #287 · fylgja/fylgja · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add rounded-gradient utility, similar to the border-gradient #287

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

GrimLink
Copy link
Member

For using borders with a gradient, not sure on the naming yet

For using borders with a gradient
@GrimLink GrimLink added the New Feature New feature or request label Mar 30, 2025
@GrimLink GrimLink self-assigned this Mar 30, 2025
@GrimLink
Copy link
Member Author
GrimLink commented Apr 6, 2025

Seeing this the most popular solution found on the web we should add this as border-gradient instead of rounded-gradient making it easier to add support for transparent backgrounds later.

This avoids add a new utility and there are signal for adding rounded border gradient support trough background-clip: border-area, but the support for this is not there yet, at the moment it is just Safari with support: https://developer.mozilla.org/en-US/docs/Web/CSS/background-clip, https://webkit.org/blog/16214/background-clip-border-area/

@GrimLink GrimLink marked this pull request as draft April 6, 2025 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Feature New feature or request
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant
0