javascript - Bootstrap - responsiveness -
with bootstrap grid system,
in container-large-desktop smaller values 1200px getting 1 under other. this:
but want them floating side side , getting smaller - until 760px:
also in halfbrick web site images in middle of screen getting smaller scale response.
is there way manage bootstrap or should implement js myself?
yes can done bootstrap alone, try following html:
<div class="row"> <div class="col-sm-4">column 1</div> <div class="col-sm-4">column 2</div> <div class="col-sm-4">column 3</div> </div>
this way on large devices have 3 columns, , when go below 768px stack 1 on top of other. different sizes can use xs
, md
, lg
instead, <768px
, >992px
, >1200px
respectively.
for responsive images can use:
<img src="..." class="img-responsive" alt="responsive image">
and automatically resize according container size.
take @ bootstrap documentation, of pretty explained there.
Comments
Post a Comment