Odd number of columns?

PrimeFlex is a lightweight responsive CSS utility library to accompany Prime UI libraries and static webpages
Post Reply
User avatar
bjorntj
Posts: 277
Joined: 30 Jul 2010, 10:46

28 Jan 2022, 23:20

How is the primeflex grid system suppose to handle odd number of columns?
I have 5 columns I would like to evenly spread using the available width but since the number of columns to chose from is 12, there is always some space that is not used,

Am I missing something here or?
PrimeFaces 11.x | PrimeVue 3.x | Spring Boot 2.7.x | Undertow | Mojarra 2.3.x
Mac OS, Firefox and Chromium

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

26 Apr 2022, 04:00

Hi,

This is a grid design. Please examine this article; https://talent-house.online/web-design-12-column-grid/

Maybe, you can create an empty element for 6 columns or update the col-* classes of your 5 columns.
Best Regards,

User avatar
bjorntj
Posts: 277
Joined: 30 Jul 2010, 10:46

09 May 2022, 13:05

Yes, I know that this is a grid design.. But this same problem is handled very well in the grid design for tailwind for instance....
PrimeFaces 11.x | PrimeVue 3.x | Spring Boot 2.7.x | Undertow | Mojarra 2.3.x
Mac OS, Firefox and Chromium

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

13 May 2022, 10:42

Thanks a lot for the update! Could you please share a link to review the structure that it uses?

Best Regards,

Post Reply

Return to “PrimeFlex”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest