Skip to content

CSS Neumorphism Generator

Generate soft neumorphism box-shadow CSS for modern UI designs

Updated

What is the CSS Neumorphism Generator?

How it works

Examples

Raised Neumorphism Button

Base Color: #e0e0e0, Light Color: #ffffff, Dark Color: #a0a0a0, Size: 200px, Blur: 20px, Distance: 10px, Border Radius: 20px, Style: Raised
.neumorphism-box { width: 200px; height: 200px; background-color: rgb(224, 224, 224); border-radius: 20px; box-shadow: 10px 10px 20px rgb(255, 255, 255), -10px -10px 20px rgb(160, 160, 160); }

Pressed Neumorphism Card

Base Color: #f0f0f0, Light Color: #ffffff, Dark Color: #b0b0b0, Size: 300px, Blur: 15px, Distance: 8px, Border Radius: 15px, Style: Pressed
.neumorphism-box { width: 300px; height: 300px; background-color: rgb(240, 240, 240); border-radius: 15px; box-shadow: inset 8px 8px 15px rgb(255, 255, 255), inset -8px -8px 15px rgb(176, 176, 176); }

Flat Neumorphism Panel

Base Color: #e8e8e8, Light Color: #ffffff, Dark Color: #9e9e9e, Size: 250px, Blur: 10px, Distance: 5px, Border Radius: 10px, Style: Flat
.neumorphism-box { width: 250px; height: 250px; background-color: rgb(232, 232, 232); border-radius: 10px; box-shadow: inset 5px 5px 10px rgb(255, 255, 255), inset -5px -5px 10px rgb(158, 158, 158); }

Frequently asked questions