$(".box-hidden").slice(0, 3).show();
$("#loadMore").on('click', function (e) {
e.preventDefault();
$( ".box-hidden:hidden" ).first().fadeIn( "slow", function showNext() {
$( this ).next( ".thumb-hidden:hidden" ).fadeIn( "slow", showNext );
});
if ($(".box-hidden:hidden").length == 0) {
$("#load").fadeOut('slow');
}
});
.wrap {
margin: 100px;
overflow: hidden;
width: 600px;
margin: auto;
}
.wrap .box {
padding: 50px;
background: #548614;
float: left;
margin: 10px;
color: white;
}
.wrap .box-hidden {
display: none;
}
.wrap-button {
margin: auto;
width: 120px;
overflow: hidden;
clear: both;
}
.wrap-button .btn-load {
padding: 9px;
display: block;
color: #fff;
background: #323232;
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script><divclass="wrap">
<div class="box box-hidden">
<p>
Content 1
</p>
</div>
<div class="box box-hidden">
<p>
Content 2
</p>
</div>
<div class="box box-hidden">
<p>
Content 3
</p>
</div>
<div class="box box-hidden">
<p>
Content 4
</p>
</div>
<div class="box box-hidden">
<p>
Content 5
</p>
</div>
<div class="box box-hidden">
<p>
Content 6
</p>
</div>
<div class="box box-hidden">
<p>
Content 7
</p>
</div>
<div class="box box-hidden">
<p>
Content 8
</p>
</div>
<div class="box box-hidden">
<p>
Content 9
</p>
</div>
<div class="box box-hidden">
<p>
Content 1
</p>
</div>
<div class="box box-hidden">
<p>
Content 2
</p>
</div>
<div class="box box-hidden">
<p>
Content 3
</p>
</div>
<div class="wrap-button">
<a href="#" id="loadMore" class="btn-load">Carregar mais</a>
</div>