Soft Box Shadow
A wide, low-opacity shadow that lifts a card without a visible edge.
Copy-paste collection
Copy-paste CSS for the visual effects you reach for constantly: box shadows, gradient combinations and text shadows, each with a live preview.
19 entries
A wide, low-opacity shadow that lifts a card without a visible edge.
Several stacked shadows that mimic real light falloff.
An inset shadow that makes an element look pressed in.
A warm orange-to-pink diagonal gradient.
A cool blue gradient from deep to light.
Overlapping radial gradients that create a soft mesh blend.
A subtle drop shadow that keeps text readable over images.
Stacked glows that turn text into a neon sign.
Frosted-glass panel built from transparency and a backdrop blur.
A solid shadow with no blur, offset down and right like a printed sticker.
A coloured halo spreading evenly in every direction rather than falling one way.
Two opposing shadows on a background of the same colour, making a shape look pressed out of the surface.
Colour spreading outward from a point rather than along a straight line.
Colour sweeping around a centre point like a pie chart or a colour wheel.
Diagonal stripes drawn entirely with a repeating gradient — no image required.
A grid of dots produced by tiling one tiny radial gradient across the element.
A gradient clipped to the shape of the letters, so the text itself carries the colour.
Letters drawn as an outline with a hollow centre, using a stroke rather than a fill.
A shadow that follows the actual shape of the element, including transparency, rather than its box.
Collection guide
CSS visual snippets package common shadows, gradients and text effects into small declarations you can adapt. They are starting points rather than rigid presets, so values should be tuned to the component size, theme and accessibility needs of the final page.
Current browsers support the properties used here, but stacking contexts, background colours and inherited styles affect the result. Test snippets in the real component instead of judging them only in isolation.
Paste declarations inside the rule for the element you want to style, then remove any property your project already controls.
Adjust blur, spread, colour or angle separately so you can see which change improves the effect.
Decorative effects should not obscure text or create essential information through colour alone.
Common questions
Yes, but existing selectors, variables and component styles may override them. Inspect the final cascade and adjust specificity carefully.
Its appearance depends on element size, background, border radius and surrounding colours, so the context rarely matches a standalone preview exactly.