News for hackers. Stuff that matters.
Re:The end of the clearfix hack? by mark242 on Thursday January 26, 2017 @12:17PM (#13493174)
A flexbox "column" can also be a row. You can have a container item centered vertically and also have it include two items.
Re:The end of the clearfix hack? by devwastaken on Thursday January 26, 2017 @10:24PM (#13497445)
In this case, I needed two children elements, one would be centered vertically in the column, and the other would be at the top of the column, but they would not effect each others position. I could only make one where the two elements were next to each other, or they effected each others positions, so the centered element was not actually centered. I ended up putting in three elements, the bottom one the same size as the top, but hidden, so the center element would stick between the two.