I'm new to jQuery and Javascript. I'm using BitStorms box shadow plugin with this, and before adding the background color and color properties, it was working fine. I'm not sure if there's something wrong with my syntax or what the problem is, but here's the code.
$('.menu-btns li a').hover(function() {
$(this).animate({
boxShadow: "inset 0 0 10px #000",
background-color: "#000",
color: "#efefef"
}, "fast");
},
function() {
$(this).animate({
boxShadow: "0 0 0",
background-color: "#fff",
color: "#efefef"
}, "fast");
});
As the code is, it's not animating the box shadow anymore, nor the background color or font color.