This is my current code.
.d-flex {
display:flex;
}
.flex-column {
flex-direction: column;
}
.align-items-center {
align-items: center;
}
<div class="d-flex flex-column align-items-center">
<div>centered content1</div>
<div>centered content2</div>
<div>I want to be this content to be left-aligned</div>
<div>centered content3</div>
<div>...</div>
</div>
I can resolve this by adding a custom class to the desired div but I want to resolve this by only flex operation.
This means I want to resolve this by only using Bootstrap flex classes.
Is this possible?
Or are there any other easy solutions?