ブートストラップを使用してグリッドを作成しようとしていますが、デスクトップ上で画面サイズを変更するとレイアウトが新しい位置にジャンプします。それをdivの中の連続流体と列流体に変えてください。しかし、これは助けになりませんでした。ブートストラップグリッド画面サイズ間でジャンプする
私のCSSとHTMLは
.top-buffer
{ margin-top:10px;
margin-bottom: 10px;
}
<!-- Turn off zooming on Mobile page-->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<p> This is the nav bar</p>
</div>
</nav>
<div class="jumbotron">
<div class="container-fluid">
<div class="row-fluid top-buffer"></div> <!-- this row is added in for iPhone Spacing. -->
<div class="row-fluid top-buffer"><!-- open the first row int he grid-->
<div class="col-md-4 col-md-offset-4"> <div class="col-sm-4 col-xs-4" >
<form action="page2JobMainMenu.html">
<button type="submit" class="btn btn-default center-block"> Job </button>
</form>
</div>
<div class=" col-sm-4 col-xs-4">
<form action= "page3CreateQuote.html">
<button type="button" class="btn btn-default center-block">
Quote </button>
</form>
</div>
<div class="col-sm-4 col-xs-4">
<form action="page4FinanceMainMenu.html">
<button type="button" class="btn btn-default center-block">
Finance</button>
</form>
</div>
</div><!--close off the cold md 4 div-->
</div><!-- Close the first row-->
</div><!-- Close the Fluid Container -->
</div><!--Close the Jumbotron-->
あるすべてのヘルプははるかに高く評価されます。 ありがとう
ジャンプするとどういう意味ですか? –
あなたの問題を説明してください。何が起きたくないのかを推測すると、 'col-md-4'が' float:left; width:33.33% 'to' float:none; width:100%; 'あなたの画面サイズが' 768px'より小さくなったら。 – fyrye
@fyryeはい正しいです。 – Chris