Bootstrap 2 (span) Vs Bootstrap 3 (col-md)
I am using to work in an asp.net mvc web application using Bootstrap v2.0 where I use the following to split the screen into 3 4x4x4 parts: -
<div class="box span4">
...
</div>
<div class="box span4">
...
</div>
<div class="box span4">
...
</div>
while on bootstrap v3.0 it seems I need to do the following: -
<div class="row">
<div class="box col-md-4"></div>
<div class="box col-md-4"></div>
<div class="box col-md-4"></div>
</div>
so I have two questions regarding above: -
-
uses
span
in bootstrap v2.0, has the same effect as when usedcol-md
in bootstrap v3.0? -
on bootstrap v3.0, which exactly does
col-md-4
. This means the div will take up 4 columns on large and medium screens, while it will slide down on small and extra small screens.
+3
source to share