I have this code and wanted to sort the animations, so that the header
only starts after the .logo_1
ends. I tried to use duration but it did not work, is there any other way I can sort animations?
$(document).ready(function(e) {
$('.mini_botao').click(function(){
$(".logo_1").animate({marginTop: '-150px'}, 1000);
$("header").animate({marginTop: '0'}, 3000);
});
});