문제

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