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

  • Pasta Dental@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    4 months ago

    At least that’s actually easy and quick to do and is the only way of doing it. Centering a div however has 81639393 ways and it seems the one that works is different every time

    • Codex@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      Bro its so easy bro, just use flexboxgridcolumns its been a standard since 2010 just flex it bro you haven’t learned to flex yet just check w3c schools and add a flex you can polyfill it but don’t use that hacked one use the good flexpolyfill then { content-align-middle-child-elements: center-middle-true-neutral } so easy with flex bro