@joanneccwang
Posted
For flex-items, by given flex: 1
for each boxes, will give you the same effect to equally divide container's width into 3 columns. If you want to keep the 12rem
to specify the min width of each column. flex: 1 0 12rem
is what you're looking for. It stands for flex-grow: 1; flex-shrink: 0; flex-basis: 12rem
. And for the same properties shared between each boxes, I'd suggest to define them in another class.
@kevinozyx
Posted
@joanneccwang thank you so much for that, really appreciate it :)