-
Notifications
You must be signed in to change notification settings - Fork 693
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
Suggestion: “background-opacity” CSS property (as suggested by CSS-Tricks.com). #4996
Comments
I wish we had pseudo-elements for that: ::background {
opacity: 80%;
} Anyway, in most cases you can simply, use a semi-transparent value for PS: Itʼs really a shame browsers did not add support for the JNG format (i.e. JPEG in PNG), just because itʼs strongly associated with complex and unsuccessful MNG. |
#4706 would allow things like |
Is using the background-image: cross-fade(50% url(photo.jpg)); |
I like this solution. I'd love to add filters to backgrounds here. I would use a
|
Discussed with backdrop-filter in #4706 (comment) |
In #4706 it was resolved to not add a An example for that function used with backgrounds looks like this: background-image: filter(url('image.jpg'), opacity(30%)); Furthermore, in #6807 it was resolved to add an @HT-7 Does this work for you? Sebastian |
From CSS-Tricks.com: https://css-tricks.com/snippets/css/transparent-background-images/
I suggest introducing a
background-opacity
parameter so it can work without workarounds.The text was updated successfully, but these errors were encountered: