• z3n0x@feddit.de
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    these are rookie mistakes. When I write CSS, the roof is underground and you won’t even find the door, because it’s hanging at an absolute point behind the sky, while I furiously add numbers to the z-index.

    • Aer@lemmy.worldM
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      When you see it…

      I wish I didn’t, my tired brain nearly didn’t see it… Goddamn now I have to go to bed knowing this exists

        • esadatari@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          1 year ago

          hahaha, the solar panels aren’t aligned to the windows

          so typically in CSS, you work with columns of sorts, and then you have a bit of a gutter zone on either edge. edit: forgot to mention, the gutter columns are there to provide a bit of a whitespace buffer on the left and right side of the page so the eyes are drawn toward the center portion of the webpage.

          this looks like those cases where the developer makes something aligned to the absolute edge of the webpage rather than aligned to the edge of the column it’s supposed to be in. so you get a bunch of stuff looking nice and neat (the windows are symmetrical for the area of the house they are in, and the solar panels are placed above said windows).

          the problem is that one of the sets of solar panels looks like it had the spirit of being aligned to the window, but is instead off to the right of it.

          as someone who has a touch of the sperg, i theorize that CSS developers do this as a national sport akin to professional chicken, and they do it to see how much they can fuck with a perfectly aligned page and still get away with it because people don’t realize it’s on purpose. but that could also be because i’m bitter lol