-
Notifications
You must be signed in to change notification settings - Fork 37
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
backdrop-filter property added #1387
Conversation
Is this supported? More than one properties can be applied? Also
Is easier to write. This makes it easy if you want to apply only one filter. If we want to add multiple filters we should have:
This way simple case (one filter) is simple, no need to create a variable, and complex case (multiple filters) is possible. |
Yes, more than one properties can be applied. and the one liner syntax looks really cool, will definitely implement it once I reach home. |
I have adjusted the type of backdrop-filter to or-type to accept both single filter values as well as multi values through records |
Finally 🔥 |
backdrop-filter property allows us to apply various filters as the backdrop of a container (like blur, brightness, sepia, etc). It is a very cool property that fastn should support. It can be used for implementing Glassmorphism design principles. Many fastn folks were requesting this property and there is also a discussion advocating for this feature.
Example:
Output:
When blur filter is applied
When blur filter is not applied