Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Playing with Flexbox, aligning list items Reply To: Playing with Flexbox, aligning list items

#283176
Beverleyh
Participant

Sounds like you want flex-grow, with a value of 1 applied to all list items except A and B where you’d use 2.

Also look into calc() to add 2x 15% widths and 4x 6px margins together on A and B in order to match properties affecting horizontal calculations between the 1st and 2nd row.