I'm trying to try bootstrap's grid system on jsfiddle but I'm unable.

See it on jsfiddle

I've taken bootstrap doc example:

<div class="row">
    <div class="col-md-1">.col-md-1</div>
     ...
</div>

items get stacked instead of horizontally aligned.

有帮助吗?

解决方案

items get stacked instead of horizontally aligned.

because that is the intended result when the viewport is resized - in your case, using col-md classes, the columns would start stacking in a viewport that is less than 992px. Look at your same fiddle in fullscreen, or just resize the window horizontally.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top