jquery - center bottom element to parent div -


hi have little problem. want add few div centered element on bottom. tried this:

position:absolute; min-width:73px; min-height:52px; margin: 0 auto;   left: 0;   right: 0; bottom:0px; 

but doesn't work. code set each div on same position (bottom of vh). i'm using bootstrap, maybe info solve problem?

full code:

<div class="row container-box>      <div class="col-md-10 col-md-offset-1" > //some stuff     </div>  <a href="#second"><span id="myid" class="glyphicon glyphicon-chevron-down "></span></a>          </div> 

bootstrap has class .center-block add float:none; class. on css make sure have:

.center-block{     float:none     display: block;     margin-left: auto;     margin-right: auto; } 
html should
<div class="container">   <div class="row">     <div class="col-md-10 center-block">      //some stuff     </div>   </div> </div> 

Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -