2017-07-09 9 views

答えて

0

あなただけのdiv、別のdivでダウン2内トップ3を宣言するために持っているので、あなたはjustify-content: space-around;またはjustify-content: space-betweenを追加することができます。

0

.row { 
 
    display: flex; 
 
    justify-content: space-around; 
 
}
<div class="container"> 
 
    <div class="row"> 
 
    <div class="product"><img src="http://placehold.it/150x200"></div> 
 
    <div class="product"><img src="http://placehold.it/150x200"></div> 
 
    <div class="product"><img src="http://placehold.it/150x200"></div> 
 
    </div> 
 
    <div class="row"> 
 
    <div class="product"><img src="http://placehold.it/150x200"></div> 
 
    <div class="product"><img src="http://placehold.it/150x200"></div> 
 
    </div> 
 
</div>

関連する問題