• @refalo
    link
    4824 days ago

    Is it just me or is the irony lost on the author? It says “align-content: center” but it’s only vertically aligned…

    • @[email protected]
      link
      fedilink
      1824 days ago

      That’s because under flexbox for horizontal alignment you use a different property called justify-content.

      • @refalo
        link
        3
        edit-2
        23 days ago

        Yes but my grief was with the naming… why not call it vertical-center? Just “center” is very confusing to me because it does not include horizontal.