---
title: "Discussion on \"Box Shadow CSS Tutorial – How to Add a Drop Shadow to Any HTML Element\" | Hashnode"
description: "Discussion on \"Box Shadow CSS Tutorial – How to Add a Drop Shadow to Any HTML Element\". By Joe Liang\nWe can add a drop shadow to any HTML element using the CSS property box-shadow. Here's how.\n##Adding a Basic Drop Shadow\nLet's first set up some basic HTML elements to add our drop shadows to:\n```html\nBox1\nBox2\nBox3\n\nThen add some basic ..."
url: "https://hashnode.com/posts/css-tutorial-drop-shadow/66d45f65706b9fb1c166b989"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Box Shadow CSS Tutorial – How to Add a Drop Shadow to Any HTML Element](https://freecodecamp.org/news/css-tutorial-drop-shadow?utm_source=hashnode&utm_medium=feed)

By Joe Liang We can add a drop shadow to any HTML element using the CSS property box-shadow. Here's how. ##Adding a Basic Drop Shadow Let's first set up some basic HTML elements to add our drop shadows to: \`\`\`html Box1 Box2 Box3 Then add some basic ...

May 18, 2020 · 4 min read · freecodecamp.org  
Read the article

-   [#box-shadow](https://hashnode.com/tag/box-shadow)
-   [#css](https://hashnode.com/tag/css)
-   [#css-properties](https://hashnode.com/tag/css-properties)
-   [#css3](https://hashnode.com/tag/css3)
-   [#pure-css](https://hashnode.com/tag/pure-css)

## Written by

[freeCodeCamp](https://hashnode.com/@freeCodeCamp)

@freeCodeCamp · Just here on Earth... for now

  
[View profile](https://hashnode.com/@freeCodeCamp)

Learn to code. Build projects. Earn certifications—All for free.

Learn to code. Build projects. Earn certifications—All for free.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
