I have this code for sliding elements from the left.
$(".slide-left")
   .css("margin-left",-$(this).width())
   .delay(400)
   .animate({
       marginLeft:0
 }, 900);
However when I try from the right, nothing happens! It seems logical code, what I am clearly missing here?
$(".slide-right")
   .css("margin-right",-$(this).width())
   .delay(400)
   .animate({
   marginRight:0
}, 900);
 
     
     
     
     
    