background: #E4E4E7; border-radius: 24px; box-shadow: 12px 12px 24px rgb(194, 194, 196), -12px -12px 24px rgb(255, 255, 255);
How to use
Pick the surface color
Set the Background with the color picker or hex field. The element and the page behind it must share this exact color, or the molded-from-one-surface illusion breaks immediately.
Adjust distance and intensity
Shadow distance moves both shadows between 2 and 40px, with blur automatically set to double the distance. Intensity, from 5 to 30%, controls how far the light and dark tones deviate from your background.
Choose raised or pressed, then copy
Leave Inset (pressed) unchecked for a popped-out element or tick it for a sunken one. Copy the three-line block containing background, border-radius, and box-shadow.
Why CSS Neumorphism Generator
- Soft-UI 'neumorphic' effect with paired light + dark shadows.
- Auto-computes shadow colors from your background.
- Inset / outset toggle for pressed-in vs popped-out feel.