Create a liquid glass smart home panel over a bold poster. Fill the page with an SVG poster that drifts slowly over 28s: a cream ground (#f4ede2), a 220px orange sun (#ff6a3d), a pink blob (#ff5c93), eight diagonal stripes in blue (#2f5bff) and yellow (#ffd23f), a dot grid and the word "evening" in a 250px bold serif. In the centre, a 372px panel with a 34px radius: "Living room", "Evening scene", a 44px round theme button, "21.5°" at 64px with "Heating to 22°", a lamp brightness slider and three toggle tiles, Lamps, Blinds and Speaker. Make the glass in three layers. Everywhere, a 40% white tint with backdrop-filter blur 14px and saturate 1.7, inset highlights and a soft drop shadow. In Chromium, swap in backdrop-filter url(#glass): an SVG filter that blurs 6px, then runs feDisplacementMap three times (scale minus 64, minus 58, minus 52) with a map drawn on a canvas, neutral in the middle and pushing inward in a 34px bevel at the rounded edge, splitting red, green and blue for a thin chromatic fringe. Where backdrop-filter is unsupported, use a 90% solid fill. Add a sheen and rim light that follow the pointer. The panel drags anywhere with pointer or touch. A theme button and prefers-color-scheme switch to a dark poster (#0e1018) and a dark 46% tint. Reduced motion stops the drift.
Written by Informeek Studio to recreate this design. Prompts are not deterministic, so running it again gives a similar result, not an identical one.
Use it in three steps
- Copy the prompt with the button above.
- Paste it into your AI site builder, or any AI chat that writes code.
- Make it yours by swapping the poster for your own artwork and the controls for your own app.
About this liquid glass CSS panel
Frosted glass blurs what is behind it. Liquid glass also bends it, the way a thick rounded pane does at its edges. This panel does both. The middle stays calm and readable, while a narrow band around the rounded corners pulls the poster inwards, so stripes curve and the big serif lettering warps as you drag the panel across it. A faint red and blue fringe on those curves sells the thickness.
The bending comes from an SVG filter used inside backdrop-filter. A small canvas draws the displacement map for the exact size of the panel, neutral grey in the middle and pushing inward in a bevel at the edge. That only renders in Chromium today, so every other browser keeps a good frosted blur, and browsers without backdrop-filter get a near solid panel that stays legible.
Why the prompt works
- It describes the displacement map rather than just asking for liquid glass.
- It plans three levels of support, refraction, frosted blur and a solid fallback.
- It designs both themes, with a tint strength for light and dark.
- It gives the glass something to bend, a busy poster with straight lines and type.
Where to use it
Control panels, music players, toolbars and overlays on rich imagery. Glass needs colour and detail behind it, so pair it with art or photos, never a flat background.
The prompt is shared under CC BY 4.0. Reuse it freely, including commercially, with a credit linking back to this page.