I have this code:
$("#my_div").animate({
"margin-left": "-145px",
"background-color": "#ffffff",
"width": "1240px",
"padding": "6px 6px 6px 6px",
"border-radius": "6px",
"box-shadow": "0px 0px 9px #323232",
"-webkit-box-shadow": "0px 0px 9px #323232"
}, 1000);
But the box-shadow
and padding
styles aren't applied.
I can't spot the error...