Back to Snippets

Spatial UI Glassmorphism Widgets CSS

Three translucent widgets sit in front of a background image. The outer two angle inward and sit further back, the middle one comes forward, and hovering any of them brings it toward you.

The arc is perspective on the container plus a rotateY and translateZ on each panel. The glass is a backdrop-filter blur over a low opacity white fill, with an inset white box-shadow along the top edge to fake the lit rim you see on real frosted panels.

The background uses fixed attachment, so the panels blur the image rather than the flat body color behind it. Below 900 pixels a media query stacks the widgets, clears every transform and sets perspective to none, since a 3D arc on a narrow screen mostly just clips off the sides.

272
#css
#spatial ui
#glassmorphism
#widgets
#apple vision
#3d
#floating
#blur
#modern