Bricks Playground
MenuA menu you can see through
Open the menu and it slides in over this picture. The panel is semi-transparent with a soft blur, so the image stays visible behind it.
Open the menuHow it is set up
This is an ordinary Drawer element. The only extra is a couple of lines of custom CSS for the frosted blur.
- Opens from: Left, 22rem wide.
- On small screens: Same as large screens, so it stays a side panel on a phone.
- Background: near-black at 38% opacity, with white text.
- Backdrop colour: transparent, so the picture is not dimmed. Tapping outside still closes it.
- Shadow: None.
- Blur behind the panel:
backdrop-filter: blur(22px)on.dr-panel, added as custom CSS on the element.
Try it: press Menu at the top of the page, then close it with Escape, the cross, or a tap on the picture.