MTGZone
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
hairinmybellybutt@lemmy.world to Programmer Humor@programming.devEnglish · 2 years ago

incoming

lemmy.world

message-square
16
fedilink
80

incoming

lemmy.world

hairinmybellybutt@lemmy.world to Programmer Humor@programming.devEnglish · 2 years ago
message-square
16
fedilink
alert-triangle
You must log in or register to comment.
  • NorthWestWind@iusearchlinux.fyi
    link
    fedilink
    arrow-up
    15
    ·
    2 years ago

    I prefer flex

  • Muffi@programming.dev
    link
    fedilink
    arrow-up
    6
    ·
    2 years ago

    Sound like you need to practice with some Flexbox Defense

  • Swiggles@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    5
    ·
    2 years ago

    Now do html mail!

    • FooBarrington@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      2 years ago

      There is actually an approach which makes this reasonably easy: https://mjml.io/

      • Swiggles@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        That’s actually cool. I have to remember it next time I have to deal with html mail.

        • FooBarrington@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          2 years ago

          I’ll pray for you that it doesn’t come to that!

  • onlinepersona@programming.dev
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    2 years ago

    Is this a new CSS attribute?

  • Crow@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 years ago

    CSS grids are a godsend.

  • Scrappy@feddit.nl
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    I always redo https://flexboxfroggy.com whenever I touch flexbox again.

  • shira@feddit.de
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    Put it in another div, make that one display:flex;justify-content:center;

  • simonced@lemmy.one
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    set margin:auto to your div, and call it a day, no need of flex/grid whatever…

  • Knusper@feddit.de
    link
    fedilink
    arrow-up
    4
    arrow-down
    2
    ·
    edit-2
    2 years ago

    I only do webdev occasionally and yeah, I’ve noticed this tendency that I want to put everything in a CSS grid. At this point, I’m worried I end up with a layout that’s about as responsive as the early-2000s table layouts. 🙃

    • adrian783@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      2 years ago

      grid and responsiveness are not antithetical. I mean the concept of grid had been around for like a decade, see bootstrap.

      • Knusper@feddit.de
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        Yeah, I’ve done responsive grids before. Problem is, I’m currently working on a single-page web music player and it’s so easy to just nail all the UI elements down. Like I might want to have the play button always appear to the left of the playback bar. But that obviously can’t reflow naturally on smaller screens. Although reflowing that example won’t look good either.

        I guess, I’m still figuring out, if I ever actually want things to reflow. I might just need to define static rules, so that on a small screen, the play button should appear in a different grid cell, next to the previous/next buttons, for example…

    • Potatos_are_not_friends@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      Grid is made for responsive design.

      If you’re not familiar with grid, stick with flex, which kinda just works but doesn’t have the strong control/structure as grid.

    • PoolloverNathan@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      2 years ago

      It’s fine, my entire website is built on rock and roll grids.

  • OneFJef@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    2 years ago

    deleted by creator

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 834 users / day
  • 4.87K users / week
  • 9.2K users / month
  • 17.9K users / 6 months
  • 4 local subscribers
  • 23.2K subscribers
  • 1.39K Posts
  • 50.8K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org