Opening the menu - push right?


var main = function() {
$('.icon-menu').click(function() {
left: '0px'
}, 200);

left: '285px'
}, 200);

shouldn't the body move to the RIGHT ? In essence that IS what happens when this code is run (the main body moves to the right by 285px) but in the code its left. Why and how does this happen ?


Isn't it effectively setting like a margin? Moving it 285px from the left?