How to create shadow effect for DIV tag using CSS?

 


Box-shadow attribute can be used to create shadow effect for DIV tag in CSS. Shadow length and thinckness can be changed by tweaking its parameters. Below is the code snippet:

.div_test {
  box-shadow: 0 2px 9px 0 rgba(0,0,0,0.1);

 


Related #tags:     #html     #css    

Related questions




Looking for change? Click below to prepare for technical interview.


Technical Interview Questions