🎨
πŸͺŸ

Modal & Popover Shadows

Create the elevated, floating feel for dialogs and dropdowns.

Nid oes angen mewngofnodi
CSS
box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.15);

Presets

Layer 1

Modals tips

πŸͺŸ

Modals need strong shadows to read as elevated above content. Try blur 32px+ at 25-30% opacity for a clear floating effect.

πŸ’‘

Combine with a translucent backdrop overlay (rgba(0,0,0,0.5)) for full modal effect. The shadow shows above the overlay.

🎯

For tooltips and popovers, smaller shadows are appropriate (0 4px 8px / 15%). Too much shadow on a small UI makes it feel overdesigned.

⚠️

Be careful with shadow contrast in dark modes β€” try a slightly luminous shadow color (white with very low opacity) instead of pure black.

Sut Mae'n Gweithio

1
Ewch i mewn
Enter your data into the tool above. Everything stays local to your browser.
2
Proses
The tool processes your data instantly in your browser using JavaScript. No server, no waiting.
3
Lawrlwythwch
Get your result instantly. Nothing is stored after you leave the page β€” complete privacy.

Pam defnyddio ein un ni?

βœ“Hollol rhad ac am ddim - dim costau cudd, byth
βœ“Nid oes angen cyfrif, e-bost na mewngofnodi
βœ“Nid yw ffeiliau byth yn gadael eich dyfais
βœ“Dim cyfyngiadau maint ffeil o gwbl
βœ“Dim dyfrnodau ar unrhyw allbwn

Also check out…

Cwestiynau Cyffredin