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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -