🌐
CSS Scan
getcssscan.com › css-box-shadow-examples
95 Beautiful CSS box-shadow examples - CSS Scan
🎨 Curated collection of 95 free beautiful CSS box-shadow, ready-to-use for your next projects. Click to copy.
🌐
W3Schools
w3schools.com › css › css3_shadows.asp
CSS Shadow Effects
The CSS text-shadow property applies a shadow to text. In its simplest use, you only specify the horizontal and the vertical shadow. In addition, you can add a shadow color and blur effect. ... To add more than one shadow to the text, you can add a comma-separated list of shadows. The following example shows a red and blue neon glow shadow:
Discussions

Simple trick to make your box-shadows look much better

I've done graphic design for many years and this applies to anything you want to make a drop shadow for, it requires 4 layers but the effect is flawless in appearance.

Excellent tip for applying this to css.

More on reddit.com
🌐 r/web_design
50
559
June 26, 2017
How to add a shadow to a text?
Tailwind doesn't have a text-shadow utility class, you'll have to add it yourself. https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow More on reddit.com
🌐 r/tailwindcss
8
8
February 1, 2022
Use card-mod and some css to give your cards a little umph.

https://github.com/thomasloven/lovelace-card-mod

Instructions to add the modifiers to the cards are on the github page above. I added padding, margin and box-shadow by adding the following to card configurations:

style: |

ha-card {

margin: 1rem 0.5rem;

-webkit-box-shadow: 0px 3px 6px 3px rgba(0,0,0,0.48);

-moz-box-shadow: 0px 3px 6px 3px rgba(0,0,0,0.48);

box-shadow: 0px 3px 6px 3px rgba(0,0,0,0.48);

padding: 0.5rem 1rem;

font-size: 0.8rem;

}

Here is the tool I used to generate the markup for the shadows: https://www.cssmatic.com/box-shadow. Just make the adjustments and replace what I added above with what works best for you.

The theme I have enabled is what gives the rounded corners. You can find it here: https://github.com/basnijholt/lovelace-ios-dark-mode-theme

If want rounded corners and would rather keep your theme, you can add the following line between the curly braces (Or adjust the 20px to your liking.) in the card styling I listed above:

border-radius: 20px;

Edit: also, the card transparency is a part of that theme. You can get the same by adding something like this:

background-color: rgba(0, 0, 0, 0.25)

edit: Credit to u/basnijholt for the lovelace-ios-dark theme. Also to Thomas Lovén https://github.com/thomasloven for the tool.

More on reddit.com
🌐 r/homeassistant
37
151
January 9, 2018
Beautiful box-shadow examples - A curated collection of 82 free beautiful box-shadow 🎨
Ooof, $40 to save a couple seconds of going to the inspector. Also, all css examples are “free” if you can view them in a browser. More on reddit.com
🌐 r/css
2
48
December 16, 2019
🌐
W3Schools
w3schools.com › css › css3_shadows_box.asp
CSS Box Shadow
CSS Templates CSS Examples CSS Editor CSS Snippets CSS Quiz CSS Exercises CSS Code Challenges CSS Website CSS Syllabus CSS Study Plan CSS Interview Prep CSS Bootcamp CSS Certificate · CSS Reference CSS Selectors CSS Combinators CSS Pseudo-classes CSS Pseudo-elements CSS At-rules CSS Functions CSS Reference Aural CSS Web Safe Fonts CSS Animatable CSS Units CSS PX-EM Converter CSS Colors CSS Color Values CSS Default Values CSS Browser Support ... The CSS box-shadow property is used to apply one or more shadows to an element.
🌐
Josh W. Comeau
joshwcomeau.com › css › designing-shadows
Designing Beautiful Shadows in CSS • Josh W. Comeau
Sadly, CSS has no such thing. Instead, we shift the shadow around by specifying a horizontal offset and a vertical offset. In the image above, for example, the resulting shadow has a 4px vertical offset and a 2px horizontal offset.
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › CSS › Reference › Properties › box-shadow
box-shadow - CSS - MDN Web Docs - Mozilla
January 12, 2026 - The box-shadow CSS property adds shadow effects around an element's frame. You can set multiple effects separated by commas. A box shadow is described by X and Y offsets relative to the element, blur and spread radius, and color. ... <section id="default-example"> <div class="transition-all" id="example-element"> <p>This is a box with a box-shadow around it.</p> </div> </section>
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › CSS › Reference › Properties › text-shadow
text-shadow - CSS - MDN - Mozilla
/* offset-x | offset-y | blur-radius | color */ text-shadow: 1px 1px 2px black; /* color | offset-x | offset-y | blur-radius */ text-shadow: #ffcc00 1px 0 10px; /* offset-x | offset-y | color */ text-shadow: 5px 5px #558abb; /* color | offset-x | offset-y */ text-shadow: white 2px 5px; /* offset-x | offset-y /* Use defaults for color and blur-radius */ text-shadow: 5px 10px; /* Global values */ text-shadow: inherit; text-shadow: initial; text-shadow: revert; text-shadow: revert-layer; text-shadow: unset; This property is specified as a comma-separated list of shadows.
🌐
Copy-paste-css
copy-paste-css.com › box-shadows
CSS Box Shadows examples
Find inspiration with a curated list of simple CSS Box shadows design examples for your next project. Just Copy and Past the CSS of every Box shadow element!
🌐
Slider Revolution
sliderrevolution.com › home › css shadow effects that make a statement
CSS Shadow Effects That Make a Statement
October 21, 2025 - Explore CSS shadow effect examples with practical code for box-shadow, text-shadow, and drop-shadow filters you can use today.
Find elsewhere
🌐
Refine
refine.dev › home › blog › tutorials › css box shadow with 25 examples
CSS Box Shadow with 25 Examples | Refine
February 28, 2024 - In this article, we will explore the CSS box-shadow property. We'll also go above and beyond to highlight the commonest box shadow examples.
🌐
FreeFrontend
freefrontend.com › css-box-shadow-examples
89 CSS box-shadow Examples
1 week ago - The visual logic relies on CSS conic-gradient utilizing calculated color stops to dynamically render the filling arc, while complex layered box-shadow creates a soft, extruded 3D aesthetic. ... See the Pen Neumorphic Loader. ... A collection of skeuomorphic buttons rendered entirely in CSS using complex gradient layering and calc()-driven geometry variables. ... See the Pen Soft Button Styling. ... A stylized paper notepad To-Do list featuring a skew transformation and stack-effect shadows.
🌐
CSS-Tricks
css-tricks.com › almanac › properties › b › box-shadow
box-shadow | CSS-Tricks
September 22, 2022 - box-shadow: inset 5px 5px 10px #000000, inset -5px -5px 10px blue; The example shows how you can use that to create multiple borders:
🌐
W3Schools
w3schools.com › cssref › css3_pr_box-shadow.php
CSS box-shadow property
Note: To attach more than one shadow to an element, add a comma-separated list of shadows (see "Try it Yourself" example below). Tip: Read more about allowed values (CSS length units)
🌐
Subframe
subframe.com › tips › css-text-shadow-effect-examples
10 CSS Text Shadow Effect Examples
Explore 10 stunning CSS text shadow effect examples to enhance your web design. Learn how to create eye-catching text styles effortlessly.
🌐
Tailwind CSS
tailwindcss.com › docs › box-shadow
box-shadow - Effects - Tailwind CSS
Use utilities like shadow-indigo-500 and shadow-cyan-500/50 to change the color of a box shadow:
🌐
CodePen
codepen.io › vavik96 › pen › yNoBYK
CSS Box Shadow Examples
<header> <h1>CSS Box Shadow Examples</h1> <p class="intro">An exploration of the CSS <code>box-shadow</code> property.</p> <a class="button" href="http://sixrevisions.com/css/css-box-shadow/">Read the Guide</a> </header> <section class="demos"> <div class="box basic-drop-shadow">Basic Drop Shadow</div> <pre><code>box-shadow: 0 0 10px;</code></pre> <div class="box inner-shadow">Inner Shadow</div> <pre><code>box-shadow: inset 0 0 10px;</code></pre> <div class="box offset-bottom-right-shadow">Offset Drop Shadow (Bottom Right)</div> <pre><code>box-shadow: <strong>5px 5px</strong> 10px;</code></pre
🌐
WPDean
wpdean.com › home › adding depth with css shadow effects: 40 examples
Adding Depth with CSS Shadow Effects: 40 Examples
December 18, 2025 - See the Pen CSS3 text-shadow effects by Jorge Epuñan (@juanbrujo) on CodePen. See the Pen Variable Longshadow with Gradients Mixin by Dario Corsi (@dariocorsi) on CodePen. See the Pen Strokes, Shadows + Halftone Effects by Mark Mead (@markmead) on CodePen. See the Pen Text Shadow Example by Aakhya Singh (@aakhya) on CodePen.
🌐
Designshack
designshack.net › articles › css › 12-fun-css-text-shadows-you-can-copy-and-paste
12 Fun CSS Text Shadows You Can Copy and Paste | Design Shack
July 19, 2017 - However, using tools like Modernizr will help you pull off advanced CSS3 effects even in older browsers, if you need fallback support. The syntax for creating a simple text-shadow is shown below. You have four variables to work with, the first two set your shadow’s position, the third sets the amount of blur and the fourth the color of the shadow. text-shadow: horizontal-offset vertical-offset blur color; Putting this into action, here’s an example with a shadow that has been moved down two pixels and right four pixels with a three pixel blur and a color of black at 30% opacity.
🌐
CodyHouse
codyhouse.co › nuggets › beautiful-css-shadows
Beautiful CSS Shadows | CodyHouse
.component { /* inner glow 👇 */ box-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.075), /* shadow ring 👇 */ 0 0 0 1px hsla(0, 0%, 0%, 0.05), /* multiple soft shadows 👇 */ 0 0.3px 0.4px hsla(0, 0%, 0%, 0.02), 0 0.9px 1.5px hsla(0, 0%, 0%, 0.045), 0 3.5px 6px hsla(0, 0%, 0%, 0.09); } ... In the above example, we're setting the object (background) color lighter in dark mode to increase its 'elevation' and improve the appearance.
🌐
Mimo
mimo.org › glossary › css › box-shadow
CSS Box Shadow: Syntax, Usage, and Examples
Master styling and layout with CSS. Learn selectors, flexbox, grid, animations, and responsive design ... offset-x moves the shadow horizontally (positive values shift it right, negative values shift it left).