Shadow settings
Presets
Shadow layers (1/5)
Shadow 1
Live preview
Elevated card
Shadow applied inline
The card sits on a slate surface so even a 6% shadow stays visible. Every control changes the inline box-shadow style.
Generated CSS
/* Box shadow — generated by InstantTools.site */
.card {
box-shadow: 0px 4px 6px -1px rgba(15, 23, 42, 0.08);
}
115 characters · 1 shadow layer
How a box-shadow value is built
box-shadow: [inset] x-offset y-offset blur spread rgba(r, g, b, a);
- Offsets move the shadow right/down; negative values are valid and pull it back.
- Blur sets how soft the edge is (0 = hard edge), spread grows or shrinks the shape before blurring.
- Colour + opacity become
rgba(r, g, b, a)with the alpha rounded to three decimals, so a 10% opacity reads0.1. - Multiple shadows (add up to 5 layers) are comma-separated and painted first-to-last — the first layer sits on top.