
画像を横並びにしようとしてもなりません。どうすれば横並びになるのか教えていただけるとたすかります。
<div class="test"> <img src="img/christmas07.jpg" alt="クリスマス特集" width="300px"></a> <img src="img/christmas08.jpg" alt="クリスマス特集" width="300px"></div>.test {
float: left;
}
.test {
display: flex;
justify-content: center;
}
回答2件
あなたの回答
tips
プレビュー