How to bring drop shadow effect for a div on mouseover using jQuery / Javascript
问题 I have many divs in an html page. I need to give these divs a drop shadow effect on mouseover using jQuery/Javascript. I can get it work if the drop shadow is to be applied initially but I am not able to get it work at the run time. The divs which needs to have shadow applied has a common class. In the fiddle it is test. I have created a fiddle http://jsfiddle.net/bobbyfrancisjoseph/ZEuVE/2/ It should work on IE8 and above and so I guess CSS3 can be used. 回答1: use this css for the shadow