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
Align content at start and end at the same time
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Please try;
Code: Select all
<div class="flex flex-wrap">
<i class="pi pi-user"></i>
<span>code</span>
<button type="button" class="ml-auto">Save</button>
</div>
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests