Hello, I have a problem with this basic CSS, I have a 100% parent div, I need the first child to stick to the left, the other one in the middle and the other one to the right.
I tried something with nth-child but it did not serve me much because it will be a carrousel.
Hugs!
<style type="text/css">
.pai {
width: 100%;
height: 100px;
background: black;
text-align: center;
}
.filho {
width: 30%;
height: 100px;
background: rebeccapurple;
display: inline-block;
}
</style>
<div class="pai">
<div class="filho"></div>
<div class="filho"></div>
<div class="filho"></div>
</div>