Live data from Hacker News

Show HN: CSS generator for a high-def glass effect

glass3d.dev

101–110 of 125 posts

Re: Show HN: CSS generator for a high-def glass effect

#101

Looks pretty good. But missing out on the refractive aspect of glass takes away the strong visual separation of layers that IMO is Liquid Glass's biggest contribution. Material has these wonderful designer resources showing how the app ought to be built of consistent moving layers, shown in 3D from the side. It's clear that there's these layers. But once you go 2d, put it all together, its incredibly hard for me to f…

I think this is a clever moat Apple created with Liquid Glass: they picked an effect that is easy to make a worse version of, but very hard to do the real/right way (and humans have an intuition for real/right because they see real glass every day). So any copycats will look worse in a way that's pretty obvious and Apple gets to keep the "premium-looking" product.

They literally said this is the reason in their marketing.

> features an entirely new material called Liquid Glass. It combines the optical qualities of glass with a fluidity only Apple can achieve

https://www.apple.com/ca/newsroom/2025/06/apple-introduces-a...

But yeah, it is a pretty clever way to make most cross-platform toolkits stand out and create a desire to create true native apps which increases their moat and means that some apps will have only an Apple version (or a worse app on other platforms) rather than releasing the same app on all platforms.

Re: Show HN: CSS generator for a high-def glass effect

#103

Earlier quoted context omitted.

Interesting, no there are no scroll effects anywhere on the page. Would you mind sharing what device, browser, and level of internet connection you're using?

Never mind, I tried recording it now but could not reproduce it anymore. It was probably something on my phone at the time (Firefox on Android). I tried to remove or edit my previous comment but it seems it's not an option. Sorry for the noise.

It was also quite slow for me, also with Firefox on Android.

Re: Show HN: CSS generator for a high-def glass effect

#104
post #24

Earlier quoted context omitted.

I don't think it's that hard for someone with experience writing shaders to emulate. The moat is that it's almost impossible to replicate with browser technology, which hurts web-based ui systems and is still a big challenge with something like flutter or jetpack compose multiplatform. Stuff like React Native get it basically for free because their ui is still technically "native". But apps that rely on web views are…

I fully agree that Liquid Glass is almost impossible to replicate with browser technology without using 3D shaders. But I’m curious to know your opinion about why apps that rely on web views are inferior for users (apart from the above reason). I certainly think Apple thinks they are inferior, but I'm not sure how devs and users feel about it.

I suppose it's only the bad ones that I notice, but I can definitely get annoyed by UI that's janky, choppy, or close-but-not-quite native. It's jarring.

Re: Show HN: CSS generator for a high-def glass effect

#105
post #24

Earlier quoted context omitted.

I don't think it's that hard for someone with experience writing shaders to emulate. The moat is that it's almost impossible to replicate with browser technology, which hurts web-based ui systems and is still a big challenge with something like flutter or jetpack compose multiplatform. Stuff like React Native get it basically for free because their ui is still technically "native". But apps that rely on web views are…

> Now they just need to figure out a way to push RN apps towards true native. Isn’t that impossible? If I call native code via binding or their official language, the same thing will happens.

I mean push the devs towards writing native swiftui.

Re: Show HN: CSS generator for a high-def glass effect

#109

I’m confused, but maybe two wrongs here do make a right. Please allow me to explain. Putting aside for the moment that I personally find Apple’s iOS 26 design objectionable[1], I don’t understand why `backdrop-filter: blur` is the focus of recent implementations jumping on the Liquid Glass hype train. Using background blur to create UI layer separation (often in combination with darkening/saturation or other contrast…

> If any aspect of Liquid Glass is successful it will be when it’s used sparingly to delight in places that are low stakes and where other affordances are present

I fully agree with you there. Though I like the Liquid Glass look overall, I think Apple is overusing it. It definitely shouldn’t be a background for paragraph-sized text (e.g., I can’t read half the text in banners on my phone).

Some context about this project:

    - I’m not trying to recreate Liquid Glass (though happy to chat about it)
    - Goal: Production-usable → must at least work on current (desktop and mobile) versions of Chrome, Safari, and Firefox, on both Apple and PC/Android devices
    - Goal: Optimize the developer experience (more relevant to the glass SCSS library I’m working on) → ideally, people can add a class (plus an optional wrapper) and it just works in most tech stacks. 
So my intended value adds are aesthetic polish and ease of use, rather than raw innovation.

Thank you for sharing potential implementation solutions. I'll research them and see if I can wrangle them to work cross-browser.

Re: Show HN: CSS generator for a high-def glass effect

#110

I’m confused, but maybe two wrongs here do make a right. Please allow me to explain. Putting aside for the moment that I personally find Apple’s iOS 26 design objectionable[1], I don’t understand why `backdrop-filter: blur` is the focus of recent implementations jumping on the Liquid Glass hype train. Using background blur to create UI layer separation (often in combination with darkening/saturation or other contrast…

None of your linked examples work on Firefox :-( We're back in the IE6 days again, aren't we...

My favorite browser is Firefox, so I hope not. The examples didn't work in Safari either. Look cool in Chrome though.
Post reply on HN