Hacker News new | ask | show | jobs
by nkristoffersen 3367 days ago
I still use:

    .mytable{display:table}
    .myrow{display:table-row}
    .mycell{display:table-cell;vertical-align:middle;}
Simply because it's been the fastest and easiest way for me to vertically align stuff. Plus very backwards compatible. But I think I'm in the minority by not using the flexbox, etc.
1 comments

If that works for you and your designs, then great! But there are a lot of places where display:table falls apart, especially with responsive designs. Flexbox and Grid also bring a new level of ability to separate source order from display order, which isn't possible using display:table.