liliboxer / tea-cozy

codecademy tea cozy project
0 stars 0 forks source link

tea section #1

Open rimmesbe opened 6 years ago

rimmesbe commented 6 years ago

You shouldn't need to make separate rows in the Tea section. Using flex display should handle creating new rows/centering for you. The benefit of using flex is that you can add/remove teas and they will automatically adjust.

https://github.com/liliboxer/tea-cozy/blob/master/index.html#L32-L57

liliboxer commented 6 years ago

Would I do flex-overflow then? So the teas would get pushed onto the second line if more were added? If so, how would I code it so the second row would always be centered regardless whether it was 1, 2, or 3 elements that took up the bottom row.