Comment by ModernMech

5 days ago

My favorite part about that is how we came back around to display:grid

Until then, display: table kept everyone calm.

  • No, dealing with tables was like trying to build a house out of tempered glass.

    With css grid, I can tell each element which area or column+row to occupy.

    If I add or remove a random element, the rest of the elements stay in the correct place.

    But do that with a table and you end up trying to glue your house back together shard by shard whilst trying not to cut yourself or breaking things more.

    • > If I add or remove a random element, the rest of the elements stay in the correct place.

      This complaint highlights how absurdly not fit-for-purpose html+css actually is. Okay, you may want to do "responsive" design, but you have the semantic layout fixed, therefore you try and contort a styling engine into pretending to be a layout engine when in reality it is three stylesheets in a trenchoat.

      2 replies →