html - background shadow for section -


the requested style here (image): enter image description here

and developped 1 here (image): enter image description here

i have used following style it's not same requested:

<section style="box-shadow: 0px 2px 16px #999;"> content </section> 

should work box-shadow , change values or there attribut css3 work ?

try using rgb alpha channel, e.g.:

box-shadow: 0px 2px 4px rgba(0,0,0,0.2); 

this makes shadow black (#000000) opacity equal 0.2 (20%).

jsfiddle example close have shown.

just make sure check browser support rgba().


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -