0
左にdivを配置する方法、モバイルモードで下に配置する方法はありますか?
.preview img {
width: 113px;height: 113px;margin-bottom: 6px;
}
<meta name="viewport" content="width=device-width, initial-scale=1">
\t <link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<div class="col-md-6 col-sm-6 col-xs-12">
<div class="row">
<div class="col-md-3 col-xs-3 preview">
\t <img src="https://pbs.twimg.com/profile_images/794566134611804164/93DBmxZk_400x400.jpg">
\t <img src="https://pbs.twimg.com/profile_images/794566134611804164/93DBmxZk_400x400.jpg">
\t <img src="https://pbs.twimg.com/profile_images/794566134611804164/93DBmxZk_400x400.jpg">
</div>
<div class="col-md-9 col-xs-9">
\t <img src="https://pbs.twimg.com/profile_images/794566134611804164/93DBmxZk_400x400.jpg" >
</div>
</div>
私は左の製品のプレビュー画像のためのdivとメインプレビュー用の別のdivを持っています。私が望むのは、左側のプレビュー画像は、モバイルモードのメインプレビューの一番下に表示されます。あなたは何をするべきか、何かのCSSトリックを私にアドバイスできますか?
あなたがより多くのCSSを持っていますか?どのように要素を左に配置していますか? – A61NN5
私はcol-mdを使ってミニ写真を配置しました。私は –
あなたが特定のブレークポイント上の位置を変更することができる代わりにあなたの要素を配置するCSSのグリッドまたはフレックスボックスを使用してみることができますか、単にあなたはcol - mdを変更することができます-3からcol-lg-12に変更して、それらをスタックにする列の全幅を使用します。 – A61NN5