Choose an element
Create a glass button, information card, or badge and choose a visual preset.
Create liquid glass buttons, photorealistic glass effects, and floating glass cards — right in your browser, with an animated live preview and ready-to-copy HTML/CSS snippets.
Choose an element, customize its appearance, see it react to a moving background, and copy your finished code.
Everything is generated locally in your browser. No libraries or external scripts required.
Glass is more than transparency. The effect comes from the interplay of blur, light, depth, and optical distortion.
A Liquid Glass effect simulates a translucent surface with a sense of depth. Unlike traditional glassmorphism, it emphasizes specular highlights, reflections, and sometimes optical distortion, as well as blur and transparency.
backdrop-filter blurs the surface behind an element. Semi-transparent gradients let color shine through, while light borders and inset shadows create convincing glass edges. For photorealistic glass buttons the combination matters more than any single CSS property.
feTurbulence generates an organic noise field. feDisplacementMap uses that field to displace pixels by varying amounts, creating the impression of an uneven, fluid glass surface.
backdrop-filter: url(#...) does not render consistently across browsers. The generator therefore starts with a reliable CSS glass effect, with SVG refraction as an optional enhancement. The Canvas live preview displaces real pixels, while the copied HTML/CSS uses a stable blur fallback. Matching the dynamic Canvas refraction requires additional JavaScript.The appearance draws inspiration from Apple’s Liquid Glass design language, but this is an independent HTML/CSS interpretation. This generator is not developed, certified, or endorsed by Apple. Its glass effects are intended for your own web designs.
Create a glass button, information card, or badge and choose a visual preset.
Tune the blur, corner radius, opacity, and optional SVG filter in the animated preview.
Place the HTML where you need it, then add the CSS to your stylesheet or style block.
Tip: Place glass elements over contrasting backgrounds. The effect is naturally hard to see against plain white.
A glass call-to-action with soft highlights and rounded edges.
For labels, feature tags, and floating status indicators.
For hero content, product features, and translucent interfaces.
Use a translucent surface, a bright border, inset highlights, and backdrop-filter: blur(...). Select “Glass Button” above and copy the generated code.
Glassmorphism typically emphasizes frosted glass through blur and transparency. The Liquid Glass aesthetic also highlights dimensional edges, reflections, and sometimes optical distortion.
feTurbulence generates noise; feDisplacementMap displaces pixels according to that noise field. Backdrop refraction requires browser support for SVG filters in the backdrop pipeline.
The core CSS effect using blur and translucent surfaces works in most modern browsers. SVG filters inside backdrop-filter are browser-dependent, so a CSS fallback is included.
No. This is an independent web design technique inspired by contemporary glass aesthetics. It does not implement official Apple technology.
Yes. You can use the simple HTML and CSS example code generated here in your own projects. Check the technical and legal requirements of your specific project.
Use a real <button>or <a>element, visible keyboard focus states, sufficient contrast, and reduced animation for users who request reduced motion.