I have a shadow added to the header of the site using jquery when scrolling down. However I would like to "fade in" the shadow when the class is added and fade out when removed.
Could that be done using CSS3?
This is the class added/removed when scrolling.
.header_shadow{-webkit-box-shadow: 0 10px 6px -6px #777;-moz-box-shadow: 0 10px 6px -6px #777;box-shadow: 0 10px 6px -6px #777;}
Thank you!