1
I can’t put them in Row, only if they’re wide enough to be right next to each other.
*{
box-sizing: border-box;
}
#countainerslider{
display: flex;
flex-flow: row wrap;
width: 100%;
height: 560px;
}
img{
width: 600px;
height: 200px;;
}
<body>
<div id='page'>
<header>
<div id="containerimgs">
<div id="containerslider">
<img class="imgnav" src="imgs/image3.jpg" alt="image-meat-tomates">
<img class="imgnav" src="imgs/pepperonipizza.jpg" alt="pepperonipizza">
<img class="imgnav" src="imgs/strawberry-chicken-salad-with-pecans.jpg"
alt="strawberry-chicken-salad-with-pecans">
<img class="imgnav" src="imgs/burger.jpg" alt="burguer-bacon">
<img class="imgnav" src="imgs/hotdogg.jpg" alt="hotdog">
</div>
</div>
</header>
<main>
<section id="service">
</section>
<section id="food">
</section>
</main>
<footer>
<h3>Follow us :</h3>
<i></i>
<i></i>
</footer>
</div>
</body>
What I want is for them to be in only 1 Row. all, even if I leave the div. And they work this way if I take this statement I said, but only if they fit in. as are 5 images, it is not only 1 Row. I tried to change position too
– Vitor Mendonça
Got it, now it’s clearer, you want something like that? https://codepen.io/gferreiraa/pen/gEMmPy
– Getulio Rafael Ferreira
Exactly! I’ll take it as a reference. Thank you very much !
– Vitor Mendonça
I got it. Thank you !
– Vitor Mendonça