Today I wanted to try and recreate a super cool dribbble shot from Dede Dwiyansyah I came across.
It's actually a Figma tutorial on how to creat...
For further actions, you may consider blocking this person and/or reporting abuse
One suggestion would be to wrap the entire backdrop-filter in @supports to avoid browser read failures.
Is there any reason for nesting that? It seems weird as the original code wasn't nested and this literally does nothing other than decrease readability 🤷
I think nesting increases readability.
Your suggestion is in
Sass
syntax, for anyone who's getting confused why there's nesting in it. Sass is actually like a much better version of CSS, just that you can do a lot more with it.I've seen that one, but it won't really fix it for the browser, it will just not have the whole effect then?
great helper tool - glassmorphism.com
Minor nitpick: The slider on that tool says "transparency", but turning it up makes it less transparent, so it should be labelled "opacity" instead.
Oh nice, haven't seen that one around!
I'm on Firefox 84 and the blur isn't there at all.
So for Firefox although it states it's supported the user needs to enable the flag.
By default, it's turned off
In firefox, you could open: about:config
And search for: backdrop -> Turn this value to true and restart firefox
In that case, it will work.
I expected it too work out of the box, going to update the browser support note
about:config
search for backdrop-filter and toggle to true
Oh thanks for mentioning this I see!
Let me see what I missed 👀
I wish
backdrop-filter
was more widely supported. It's such a nice effect for image lightboxes, semi-transparent menu bars, etc. etc. etc.Yeah exactly, but browser support goes quick these days so hopefully soon it will be a default to use one :)
That blur is beautiful
Thanks it's really nice, hopefully, all browsers will quickly support it
Cool and impressive!!
Thank you Timothy, glad you like it 🤟
Nice animation though
Thanks! Just a pity I had to put in the delay on the blue one
Try a negative animation-delay.
Legend! Totally forgot those were valid!
Really enjoyed this post - learning CSS is my favorite coding hobby, and I learned a lot from this post. I'll be using bits and pieces of this in the future!
Awesome, glad you're picking up little things.
I think that's the whole idea just knowing about them and once you need them you're going to be like; Oh yeah that was a cool thing.
Hermoso 😍
Cool tip. Thank you for sharing
Thank you Phong, glad you liked it ✌️