.container {
display: flex;
justify-content: left;
}
.containertwo {
display: flex;
justify-content: right;
}
.center {
text-align: center
}
<div class="container"> //component1
<div class="one">some content</div>
</div>
<div class="center"> //middle component
<div class="middle">middle content</div>
</div>
<div class="containertwo"> //component2
<div class="two">some content</div>
</div>
I have three different components named as component1, component2, and middlecomponent.
All these components are being loaded in app.vue. I am able to integrate all the components into one single component called App.vue.
However, when it comes to styling using flexbox properties in CSS, I am uncertain about how to align them properly?