MODULO Full Stack Web Development: The Ultimate Master SagaTHEORY

Align actions in a wrapping toolbar

Put three buttons in a flex container. Give it a gap of 8px, enable wrapping and align items at the centre. Narrow the viewport until the third button moves to another line.

Check your work

Buttons on each line should retain the gap. Give the first button a longer label and test again. Use align-items for the cross axis and justify-content for placement along the main axis.