- What's the trick behind neumorphism?
- Two box-shadows: a light one offset in one direction, a dark one offset the opposite direction. This simulates soft edges on the element's surface color.
- Does neumorphism work on any background color?
- Only backgrounds close to the element's color — the effect relies on subtle variations. Pure white or pure black backgrounds break the illusion.
- Is it accessible?
- Neumorphism has notoriously low contrast. Use the tool's contrast check and consider a subtle border for focus states. Buttons often need a fallback high-contrast style.
- Raised, inset, or flat — when to use which?
- Raised for primary buttons/cards, inset for pressed states and input fields, flat for labels and disabled elements.