Edit in JSFiddle

$("#start-animation-button").click(function(){
	$("#animate-box")
		.animate({width: "100px"}, "slow")
		.delay("slow")
		.animate({height: "100px"}, "slow")
		.delay("slow")
		.fadeTo("fast", 0.5);
});

$("#reset-animation-button").click(function(){
	$("#animate-box").removeAttr("style");
});
#animate-box{
	width: 50px;
	height: 50px;
	background-color: #ebc621;
	margin-top: 10px;
	position: relative;
}
<div id="animate-box"></div>
<button type="button" id="start-animation-button">Alusta animatsioonidega</button>
<button type="button" id="reset-animation-button">Reset</button>