CSS: have sibling elements match each others height

I.e. When you have a list of items displayed and layout using flexbox.

1. Parent container element:

.flex-container { display: flex; justify-content: center; flex-wrap: wrap; }

2. Each childen element:

.flex-container section { /*so each element same height as the others*/ display: flex; }

Comments