How to Add Shadow in Text, Inside element and Outside element

Add shadow on your webpage’s element, text or theme. Add shadow using simple CSS code and make stylish website. So lets learn how to do this.

Add Shadow using CSS

  • Open style.css file.
  • Paste given on element’s class and SAVE.

Shadow on Text

text-shadow: 5px 5px 3px red;

Shadow on Inside

box-shadow: inset 0 2px 8px rgb(0 0 0 / 50%);

Shadow on Outside

box-shadow: 10px 10px 5px 12px black;

You can change and make more attractive or beautiful shadows. Thank for visiting