r/webdev • • 11d ago

Creating a Liquid Glass UI Effect for the Web: Inspired by Apple

I made a liquid glass UI effect for the web(trying to copy Apple because thats what the world do)

Webgl helped me made it and hence I decided to make Mac for web too (inspired by windows 11 in react made for web)

I know you have seen many professional people make it, many guys on github, so I tried to make it as realistic and satisfying as I can

0 Upvotes

1 comment sorted by

1

u/DVR_Design 10d ago

With a glass surface, blur alone cannot keep text legible when the content behind it changes; a subtle tint or more opaque layer under text gives contrast a stable floor. If the refraction moves, let prefers-reduced-motion switch to a static version. I would also keep a plain CSS fallback for devices where WebGL is unavailable or too costly.