<div class="panel panel-default navbar-fixed-bottom">
- getbootstrap.com/components/#navbar-fixed-bottom<div class="row">
<div class="block"> img </div>
<div class="block"> img </div>
<div class="block"> img </div>
<div class="block"> img </div>
<div class="block"> img </div>
<div class="block"> img </div>
<div class="block"> img </div>
</div>
<div class="row">
<div class="block"> img </div>
<div class="block"> img </div>
<div class="block"> img </div>
<div class="block"> img </div>
<div class="block"> img </div>
<div class="block"> img </div>
<div class="block"> img </div>
</div>
var a = $('#container').height();
$('#container').height(a);
$('#container').append('<div class="block">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequatasd.incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequatasd Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequatasd</div>');
var b = $('.block').height() + 10; // 10 равен padding. Можно тоже автоматом получать
$('#container').animate({'height':b},1000);
.wrapper {
text-align: center;
}
figure.logo {
display: inline-block;
}
.wrapper a {display: block;
width: 300px;
margin: 0 auto;
margin-bottom: 10px;
height: 60px;
}
.logo {
background-image: url(/assets/img/logo.png);
height: 60px;
width: 100%;
}