Greetings to the whole community, I'm entering the world of boostrap, I need help to align 6 items by flexbox so that they are like a staircase, then I show a photo of the items
This I already did with only 3 items through align-self.
.contenedor {
width: 800px;
height: 500px;
background: gray;
margin: 50px auto;
display: flex;
flex-direction: row;
}
.hijo {
width: 150px;
height: 100px;
background: red;
margin: 30px;
padding: 20px;
font-size: 40px
}
.arriba {
align-self: flex-start;
}
.centro {
align-self: center;
}
.abajo {
align-self: flex-end;
}
<body>
<div class="contenedor">
<div class="hijo abajo">A</div>
<div class="hijo centro">B</div>
<div class="hijo arriba">C</div>
</div>
I hope you can help me.