0
I am having problems gradually increasing the columns. I want the result to be the same as the image below:
I tried to change the height of each one, only the base is increasing the width (which should not happen):
.growthInformations {
border: solid red;
display: flex;
justify-content: space-around;
}
.growthInformations div h1,
.growth div h3,
.growth div p {
color: white;
margin: 10px 0 0 0;
}
.growthInformations div {
background-color: blue;
width: 160px;
text-align: center;
}
.growthInformations div>p {
background-color: green;
height: 300px;
}
.growthInformations {
border: solid red;
display: flex;
justify-content: space-around;
}
.growthInformations div h1,
.growth div h3,
.growth div p {
color: white;
margin: 10px 0 0 0;
}
.growthInformations div {
background-color: blue;
width: 160px;
text-align: center;
}
.growthInformations div>p {
background-color: green;
height: 300px;
}
<div class="growthInformations">
<div>
<h1>$ 100</h1>
<h3>100 + hours</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
<div>
<h1>$ 150</h1>
<h3>180 + hours</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
<div>
<h1>$ 200</h1>
<h3>260 + hours</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
<div>
<h1>$ 250</h1>
<h3>380 + hours</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
<div>
<h1>$ 300</h1>
<h3>420 + hours</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
<div>
<h1>$ 350</h1>
<h3>520 + hours</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
</div>
Thank you, my man helped a lot!
– AlvaroMendes
@Alvaromendes if you think the answer solved the problem remember to mark it as. accept in this icon below the arrows next to the answer ;)
– hugocsl