frontendhack-logo

Neumorphic Raised 1 is a soft CSS box shadow from the Neumorphism collection, built from 2 stacked layers and a colored tint. The largest blur radius is 16px. Copy the code below and paste it into any element.

box-shadow: 9px 9px 16px 0px rgba(157, 160, 165, 0.75), -9px -9px 16px 0px rgba(249, 250, 251, 0.9);

All box shadow examples

Shadow values

#TypeXYBlurSpreadColorOpacity
1outer9px9px16px0px#9DA0A50.75
2outer-9px-9px16px0px#F9FAFB0.9

How to use it

.card {
  background: #E0E5EC;
  border-radius: 20px;
  box-shadow: 9px 9px 16px 0px rgba(157, 160, 165, 0.75), -9px -9px 16px 0px rgba(249, 250, 251, 0.9);
}

More Neumorphism examples

Frequently Asked Questions

Copy the box-shadow line and paste it into the CSS rule of the element you want to style, for example a card, button or image wrapper. The example is shown on a #E0E5EC background with a #E0E5EC element and 20px rounded corners.

Yes. This shadow has 2 layers separated by commas. Change the pixel values or the rgba() color of any layer directly in your CSS to tune it.

This example is designed for light backgrounds. On very dark backgrounds a black shadow becomes hard to see, so raise the opacity or switch to a glow style.