Flex container weirdness

Flex container weirdness
0.0 0

#1

So, i have a ul that is my flex container. when i try to resize my li elements, the flex container expands, but the height/width of the li elements remains the same. only the padding appears to change.

Play around with it: https://codepen.io/JaosnCodes/pen/xgbGdM

Can somebody please tell me how to resize my flex container children?


#2

Hiya @ICodeWateverIFeelLik,

You need to add

display: flex;

to your css, so it knows your div with class = wrapper is the parent.

see link below

Hope this helps