- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Add a blur effect to the shadow with CSS
To add a blur effect to the shadow, use the box-shadow property.
You can try to run the following code to add blur effect
Example
<!DOCTYPE html> <html> <head> <style> h2 { box-shadow: 10px 10px 7px green; height: 50px; background-color: yellow; } </style> </head> <body> <h2>Heading Two</h2> <p>Above heading has shadow.<p> </body> </html>
- Related Articles
- Add a color to the shadow with CSS
- Set Drop Shadow Effect with CSS
- CSS Shadow Effect
- Add shadow to elements with CSS
- Add shadow effects to text with CSS
- Add shadow effects to elements with CSS
- How to add a blur effect to a text node in JavaFX?
- Add more than one shadow to a text with CSS
- How to add shadow Effect for a Text in Android?
- Add a pressed effect on button click with CSS
- How to flip an image (add a mirror effect) with CSS?
- How to add a drop shadow effect to a text node in JavaFX?
- How to add an inner shadow effect to a text node in JavaFX?
- How to set the shadow effect of a text with JavaScript?
- Shadow Filter with CSS

Advertisements