I am not allowed to credit the site that has this disaster. Its owner said “Nobody should see that”

  • marcos@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    5 months ago

    Also seriously, anybody having problems with flexbox should try this:

    https://flexboxfroggy.com/

    I’m not sure there’s any version of it for grids, but IMO grids are inherently more intuitive, so it may not be needed. Flexbox is the one that is hard to learn.

    • davidgro@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      5 months ago

      I don’t know any CSS (despite reading memes about it like this) but I do know that the bottom of that page has a link to something called Grid Garden

    • CatLikeLemming@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 months ago

      Well, flexbox and grid have different purposes in my opinion/experience. Personally I use grid for “top level” layouts like the layout of the whole site, while I tend to prefer flexbox for layouts inside the grid. Of course that’s just a rule of thumb, there are absolutely cases where this isn’t the best option.