Align content at start and end at the same time
Posted: 28 Jul 2022, 02:30
Hello everyone,
I'm using primeflex for the first time and i have some difficulty to align two contents at start and another at the end, in the same row.
Can anyone tell me at i doing wrong?
#Example
icon code button
#CODE
<div class="flex justify-content-between flex-wrap">
<i class="flex flex-row align-items-center justify-content-start pi pi-user"></i>
<span class="flex flex-row align-items-center justify-content-start m-2">code</span>
<button type="button" class="flex flex-row justify-content-end m-2">Save</button>
</div>
#CODE
I'm using primeflex for the first time and i have some difficulty to align two contents at start and another at the end, in the same row.
Can anyone tell me at i doing wrong?
#Example
icon code button
#CODE
<div class="flex justify-content-between flex-wrap">
<i class="flex flex-row align-items-center justify-content-start pi pi-user"></i>
<span class="flex flex-row align-items-center justify-content-start m-2">code</span>
<button type="button" class="flex flex-row justify-content-end m-2">Save</button>
</div>
#CODE