1 Live Shadow Preview
See your shadow effects instantly as you change the settings. Experiment until you find a design that suits your website.
Design beautiful, modern shadows for cards, buttons and UI elements — no CSS coding required. Adjust colours, offsets, blur and inset values, then copy the CSS or Tailwind code with one click.
box-shadow: none;
Hover to see the code · double-click (or press Enter) to copy
box-shadow:4px 4px 5px 6px red;box-shadow:inset 9px 15px 8px 1px #343434, 12px 11px 8px 1px;
border-radius:50%;box-shadow:0px 0px 20px 6px black;
background:white;box-shadow: inset 4px 4px 4px 4px red, inset -4px -4px 4px 4px red, inset 8px 8px 8px 8px blue, inset -8px -8px 8px 8px green;box-shadow:
-7px -7px 20px 0px red,
-4px -4px 5px 0px green,
7px 7px 20px 0px blue,
4px 4px 5px 0px black;box-shadow:1px 1px 5px red, -1px -1px 5px blue;box-shadow:1px 1px 5px 6px red, 2px 2px 10px 12px gold, 0px 0px 10px 20px hotpink;box-shadow:1px 1px 5px 6px red, 2px 2px 12px 15px white, 0px 0px 10px 20px rgb(255, 18, 228), inset 0px 0px 8px 10px grey;box-shadow: 7px 7px 15px 5px black inset;box-shadow: 0 0 5px 4px #FF6347, 0 0 5px 20px #FFDAB9, 0px 0 10px 20px #000000;box-shadow: 0 0 5px 4px #FF6347, 0 0 5px 15px blue, 0px 0px 5px 22px hotpink, 0px 0 10px 25px yellow;box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;box-shadow: rgb(85, 91, 255) 0px 0px 0px 3px, rgb(31, 193, 27) 0px 0px 0px 6px, rgb(255, 217, 19) 0px 0px 0px 9px, rgb(255, 156, 85) 0px 0px 0px 12px, rgb(255, 85, 85) 0px 0px 0px 15px;box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.034), 0 6.7px 5.3px rgba(0, 0, 0, 0.048), 0 12.5px 10px rgba(0, 0, 0, 0.06), 0 22.3px 17.9px rgba(0, 0, 0, 0.072), 0 41.8px 33.4px rgba(0, 0, 0, 0.086), 0 100px 80px rgba(0, 0, 0, 0.12);filter:drop-shadow(0px 0px 15px red);box-shadow:
inset 5px 5px 10px #000000,
inset -5px -5px 10px grey;box-shadow:5px 5px 10px;box-shadow:inset 0px 0px 5px 5px olive;box-shadow:0 0 5px 5px olive;box-shadow:0 0 10px 5px red;box-shadow:0 15px 10px -5px;filter:drop-shadow(0 0 20px grey);filter:drop-shadow(3px -3px 10px blue);box-shadow:1px 1px 5px 6px blue, 2px 2px 12px 15px green, 0px 0px 10px 20px rgb(255, 18, 228), 0px 0px 8px 20px yellow;background: #050510;
box-shadow:
0 0 5px #0ff,
0 0 20px #0ff,
0 0 40px #0ff,
0 0 80px #0ff;background: #1a0033;
box-shadow:
-5px -5px 20px #ff00de,
5px 5px 20px #00d9ff,
0 0 35px #ff00de,
inset 0 0 20px #00d9ff;background: linear-gradient(180deg,
#ff9966, #ff5e62, #c83e8c, #481880);
box-shadow:
0 -10px 30px #ff9966,
0 -20px 60px #ff5e62,
0 -30px 90px #c83e8c;background: #1a0000;
box-shadow:
0 0 10px #ff0000,
0 0 30px #ff6600,
0 0 50px #ffcc00,
0 0 90px #ff6600;background: linear-gradient(180deg,
#00d4ff, #0077be, #001f3f);
box-shadow:
0 8px 25px #0077be,
0 15px 50px #003d66,
0 25px 80px #001f3f;background: #0a0018;
box-shadow:
-12px -12px 45px #00ff9f,
12px 12px 45px #8a2be2,
0 0 60px #00bfff;background: #fff;
box-shadow:
-8px 8px 0 #ff006e,
8px -8px 0 #00d9ff,
0 0 35px rgba(255,0,110,.55);background: linear-gradient(180deg, #f0f0f0, #a0a0a0);
box-shadow:
0 2px 0 #999,
0 4px 0 #888,
0 6px 0 #777,
0 10px 18px rgba(0,0,0,.4);background: linear-gradient(145deg, #ffb3d9, #ffe066);
box-shadow:
0 0 20px #ffb3d9,
0 0 40px #ff99cc,
0 0 60px #ffe066,
inset 0 0 25px #fff;background: linear-gradient(135deg, #ff6ec7, #7ee8fa, #b967ff);
box-shadow:
10px 10px 30px #ff6ec7,
-10px -10px 30px #7ee8fa,
0 0 45px #b967ff,
inset 0 0 20px rgba(255,255,255,.6);background: #001a0d;
box-shadow:
0 0 15px #00ff88,
0 0 35px #00cc66,
0 0 55px #009944,
0 0 85px #006633;background: #12001f;
box-shadow:
0 0 15px #9d4edd,
0 0 35px #7b2cbf,
0 0 55px #5a189a,
0 0 85px #3c096c;background: linear-gradient(145deg, #ffffff, #b0b0b0);
box-shadow:
6px 6px 15px #4a4a4a,
-6px -6px 15px #f0f0f0,
inset 2px 2px 5px #fff,
inset -2px -2px 5px #888;background: linear-gradient(145deg, #ffd700, #b8860b);
box-shadow:
0 0 20px #ffd700,
0 0 40px #ffb300,
0 0 60px #ff8c00,
inset 0 0 22px rgba(255,215,0,.6);background: radial-gradient(circle, #6a0dad, #191970);
box-shadow:
0 0 20px #6a0dad,
0 0 40px #4b0082,
0 0 65px #191970,
0 0 95px #000080;background: linear-gradient(145deg, #ff0033, #990020);
box-shadow:
5px 5px 25px #ff0033,
-5px -5px 25px #ff6699,
0 0 45px #ff0033,
inset 0 0 20px #ff6699;background: #0a1a00;
box-shadow:
0 0 15px #39ff14,
0 0 30px #39ff14,
0 0 55px #00ff00,
inset 0 0 25px #39ff14;background: radial-gradient(circle, #0d1b2a, #000);
box-shadow:
5px 5px 25px #415a77,
-5px -5px 25px #1b263b,
0 0 55px #778da9,
inset 0 0 25px #000;background: #fff;
box-shadow:
10px 0 30px red,
0 10px 30px orange,
-10px 0 30px gold,
0 -10px 30px green,
10px 10px 30px blue,
-10px -10px 30px purple;background: #fff8e7;
box-shadow:
4px 4px 0 #e8d8b0,
8px 8px 0 #d4c090,
12px 12px 0 #c0a870,
18px 18px 25px rgba(0,0,0,.25);background: linear-gradient(135deg,
rgba(255,255,255,.5), rgba(255,255,255,.1));
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
box-shadow:
0 8px 32px rgba(31,38,135,.37),
inset 0 0 20px rgba(255,255,255,.5),
inset 0 0 40px rgba(150,200,255,.2);
border: 1px solid rgba(255,255,255,.6);background: linear-gradient(145deg, #ffe0ec, #ffc2d8);
box-shadow:
0 0 20px #ffb6c1,
0 0 40px #ff69b4,
inset 0 0 20px #fff;background: linear-gradient(145deg, #ffd1dc, #fff0f5);
box-shadow:
-6px 6px 0 #ff69b4,
6px -6px 0 #87ceeb,
0 0 30px rgba(255,105,180,.4);background: linear-gradient(145deg, #e0e0e0, #808080);
box-shadow:
8px 8px 20px #505050,
-8px -8px 20px #ffffff,
inset 2px 2px 4px #fff,
inset -2px -2px 4px #666;background: linear-gradient(145deg, #b87333, #8b4513);
box-shadow:
0 0 20px #b87333,
0 0 40px #cd7f32,
inset 0 0 20px rgba(255,200,150,.6);background: linear-gradient(145deg, #e0f7ff, #b3e5fc);
box-shadow:
0 0 15px #b3e5fc,
0 0 30px #81d4fa,
0 0 50px #4fc3f7,
inset 0 0 20px #fff;background: radial-gradient(circle at 30% 30%,
#ff9500, #cc3300, #660000);
box-shadow:
0 0 25px #ff6600,
0 0 50px #ff3300,
0 0 80px #cc0000;background: #000;
box-shadow:
0 0 10px #00ff00,
0 0 25px #00ff00,
0 0 45px #00ff00,
inset 0 0 15px #00ff00;background: linear-gradient(145deg, #4169e1, #000080);
box-shadow:
0 0 20px #4169e1,
0 0 40px #1e3a8a,
0 0 60px #000080,
inset 0 0 15px rgba(255,255,255,.3);background: linear-gradient(145deg, #dc143c, #8b0000);
box-shadow:
0 0 25px #dc143c,
0 0 50px #b22222,
0 0 80px #8b0000,
inset 0 0 15px rgba(255,255,255,.2);background: linear-gradient(145deg, #d4fff0, #98ff98);
box-shadow:
0 0 20px #98ff98,
0 0 40px #00fa9a,
inset 0 0 20px #fff;background: linear-gradient(145deg, #ffdab9, #ffb385);
box-shadow:
0 0 20px #ffdab9,
0 0 40px #ffb385,
0 0 60px #ff9966,
inset 0 0 15px #fff;background: linear-gradient(145deg, #e6e6fa, #b19cd9);
box-shadow:
0 0 20px #e6e6fa,
0 0 40px #b19cd9,
inset 0 0 20px #fff;background: radial-gradient(circle at 50% 50%,
#ff4400, #8b0000, #1a0000);
box-shadow:
0 0 20px #ff4400,
0 0 40px #cc2200,
0 0 70px #8b0000,
inset 0 0 20px #ff6600;background: #001a33;
box-shadow:
0 0 10px #00d4ff,
0 0 25px #0099ff,
0 0 45px #0066ff,
0 0 70px #0033ff;background: linear-gradient(180deg,
#2d1b69, #6a2c70, #b83b5e);
box-shadow:
0 -10px 30px #6a2c70,
0 -20px 60px #b83b5e,
0 15px 40px #2d1b69;background: #f5f0dc;
box-shadow:
3px 3px 0 #c4b896,
6px 6px 0 #a89070,
10px 10px 20px rgba(100,70,40,.4),
inset 0 0 30px rgba(180,150,110,.3);background:
linear-gradient(135deg,
#2b2b2b 25%, #1a1a1a 25%,
#1a1a1a 50%, #2b2b2b 50%,
#2b2b2b 75%, #1a1a1a 75%);
background-size: 8px 8px;
box-shadow:
0 0 20px rgba(0,0,0,.9),
0 10px 30px rgba(0,0,0,.7),
inset 0 0 10px rgba(255,255,255,.05);background: linear-gradient(145deg, #00ced1, #ff8c00);
box-shadow:
-10px -10px 30px #00ced1,
10px 10px 30px #ff8c00,
0 0 50px rgba(0,206,209,.6);background: #fff;
box-shadow:
0 0 0 3px red,
0 0 0 6px orange,
0 0 0 9px yellow,
0 0 0 12px green,
0 0 0 15px blue,
0 0 0 18px indigo,
0 0 0 21px violet;A CSS Box Shadow Generator is an online tool that lets you create and customise shadow effects visually. Instead of experimenting with CSS properties manually, you adjust interactive controls and watch each change apply to the preview in real time.
The box-shadow property adds shadow effects around an HTML
element. It creates depth, highlights important elements and improves the overall
appearance of a user interface — from cards and buttons to modals and dashboards.
This free generator simplifies the process with an interactive preview, customisable shadow settings, ready-made presets and a collection of 66 fancy shadow effects.
Ten powerful options that make shadow design fast, visual and frustration-free.
See your shadow effects instantly as you change the settings. Experiment until you find a design that suits your website.
Adjust shadow position, blur, spread and colour to achieve anything from a subtle shadow to a bold, glowing effect.
Create complex designs by adding multiple shadow layers to a single element. Combine colours, blur levels and offsets.
Choose from predefined shadow styles to get started quickly — no need to configure every property from scratch.
Explore colourful, modern designs such as neon, cyber, sunset, fire, ocean, aurora, glass, rainbow and 3D-style shadows.
Once you create your desired effect, copy the generated CSS and paste it into your stylesheet or project.
Use the Tailwind copy option to obtain a Tailwind-oriented output. Check the result before using it in your setup.
Experiment freely. Return to a previous configuration or restore a later state without starting over.
Use the randomise feature to explore new shadow combinations and discover creative ideas for your next project.
A friendly interface that works on desktop and mobile screens, convenient for designers on different devices.
Follow these simple steps to create your own CSS shadow effect.
The box-shadow property adds shadow effects to HTML elements. Knowing its syntax helps you customise the generated code.
box-shadow: offset-x offset-y blur-radius spread-radius color;
Not every value needs to be included in every shadow declaration. The exact effect depends on the values and the order in which the shadow layers are defined.
Create a simple shadow around a card or container.
box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
Use a subtle shadow to give elements a clean, modern appearance.
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
Add a colourful shadow to make a button or card stand out.
box-shadow: 0 0 20px rgba(0, 123, 255, 0.6);
Create an inner shadow for a pressed or recessed appearance.
box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
Combine multiple shadows to create a more detailed visual effect.
box-shadow: 0 5px 15px rgba(0,0,0,0.15),
0 10px 30px rgba(0,0,0,0.08);
CSS box shadows are useful in many types of web design projects.
Choose shadow styles carefully to maintain a consistent design throughout your website.
Creating shadows manually can require repeated adjustments. An online generator makes this faster and more visual.
Adjust shadow properties through controls instead of repeatedly editing CSS declarations.
Understand how offsets, blur, spread, colours and inset effects change the appearance of an element.
Experiment with ready-made presets and fancy shadow examples to discover new design ideas.
Transfer your generated CSS into your project and modify it further whenever necessary.
Create subtle depth, colourful highlights and layered effects for modern website components.
Follow these tips to make your shadows look professional.
It is an online tool that helps you create CSS shadow effects visually. You can customise shadow properties, preview the results and copy the generated CSS code.
Yes, the CSS Box Shadow Generator on Deep Mega Tools is completely free to use — no sign-up required.
Yes. You can add multiple shadow layers and combine them to create complex effects. CSS supports multiple comma-separated shadow values in a single box-shadow declaration.
Yes. You can create inset shadow effects that appear inside an element rather than outside its edges.
No advanced coding knowledge is required to use the visual controls. Basic knowledge of HTML and CSS helps you understand and customise the generated code.
You can use the generated CSS in any website or web application that supports standard CSS. Place the declaration in the appropriate CSS rule for the element you want to style.
Fancy CSS box shadows are creative effects that use combinations of colours, offsets, blur values and multiple layers to produce distinctive visual styles — including neon glows, rainbow effects and 3D-style appearances.
Yes. The responsive interface is designed to work on mobile devices as well as desktop screens. You can create shadow effects and copy the generated code from a supported mobile browser.
Give your website a more polished appearance. Experiment with different shadow settings, explore 66 fancy effects, preview instantly and copy the CSS you need.