Bootstrap - flexible for every screen size or device -
today have 1 questions regarding bootstrap on different screen size or devices.
example want create website suitable desktop, laptop, mobile , tablet.
inside html class, should set container become fluid-container
?
or need apply .col-lg
col-sm
col-xs
?
because wish website can display on devices , screen size.
thank , sorry if question duplicated.
because fail search article related regarding issue.
assuming you're using bootstrap 3, don't use fluid-container, it's been replaced container. this:
<div class="wrapper"> <div class="row"> <div class="col-md-6">50%</div><div class="col-md-6">50%</div> </div> <div class="row"> <div class="col-md-3">25%</div><div class="col-md-3">25%</div><div class="col-md-3">25%</div><div class="col-md-3">25%</div> </div> <div class="row"> <div class="col-md-4">33%</div><div class="col-md-4">33%</div><div class="col-md-4">33%</div> </div> </div>
Comments
Post a Comment