Home › Forums › CSS › Playing with Flexbox, aligning list items › Reply To: Playing with Flexbox, aligning list items
February 19, 2019 at 1:20 am
#283176
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.