私はしばらくの間、この問題を解決しようとしてきました... 私は現在 Web 開発を学んでおり、ブートストラップ グリッド システムの実装は演習の 1 つです。多くのリソースを見ましたが、まだ答えが見つかりません。
問題は、すべてが正常に機能しているように見えることです。S と XS の間を除くすべての画面サイズで。なぜかレイアウトが崩れる。スマホで見ても同じです。その時の様子をスクショ撮ってみました。
誰かが私を助けてくれたらいいのに...ありがとう
<div class="container-fluid">
<h1>
Work
</h1>
<div class="row" id="work1">
<div class="col-xs-6 col-sm-3 col-md-3">
<img class="img-responsive" src="img/image4.png">
</div>
<div class="col-xs-6 col-sm-3 col-md-3">
<p>
Test your site out on your phone. It should look like this
(well, without the cats! Please replace these images with
screenshots and descriptions of your own work). Test your site
out on your phone. It should look like this (well, without the
cats!
</p>
</div>
<div class="col-xs-6 col-sm-3 col-md-3">
<img class="img-responsive" src="img/image4.png">
</div>
<div class="col-xs-6 col-sm-3 col-md-3">
<p>
Test your site out on your phone. It should look like this
(well, without the cats! Please replace these images with
screenshots and descriptions of your own work). Test your site
out on your phone. It should look like this (well, without the
cats!
</p>
</div>
</div>
<div class="row" id="work2">
<div class="col-xs-6 col-sm-3 col-md-3">
<img class="img-responsive" src="img/image4.png">
</div>
<div class="col-xs-6 col-sm-3 col-md-3">
<p>
Test your site out on your phone. It should look like this
(well, without the cats! Please replace these images with
screenshots and descriptions of your own work). Test your site
out on your phone. It should look like this (well, without the
cats!
</p>
</div>
<div class="col-xs-6 col-sm-3 col-md-3">
<img class="img-responsive" src="img/image4.png">
</div>
<div class="col-xs-6 col-sm-3 col-md-3">
<p>
Test your site out on your phone. It should look like this
(well, without the cats! Please replace these images with
screenshots and descriptions of your own work). Test your site
out on your phone. It should look like this (well, without the
cats!
</p>
</div>
</div>
</div>