Under the Jacaranda
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Otter@lemmy.ca to Programming@programming.devEnglish · 9 months ago

CSS finally adds vertical centering in 2024

build-your-own.org

external-link
message-square
67
fedilink
  • cross-posted to:
  • [email protected]
329
external-link

CSS finally adds vertical centering in 2024

build-your-own.org

Otter@lemmy.ca to Programming@programming.devEnglish · 9 months ago
message-square
67
fedilink
  • cross-posted to:
  • [email protected]
CSS finally adds vertical centering in 2024 | Blog | build-your-own.org
build-your-own.org
external-link
CSS finally adds vertical centering in 2024
  • HowManyNimons@lemmy.world
    link
    fedilink
    arrow-up
    77
    arrow-down
    11
    ·
    9 months ago

    Why are we not angrier about css generally?

    • Angry_Autist (he/him)@lemmy.world
      link
      fedilink
      arrow-up
      49
      arrow-down
      1
      ·
      9 months ago

      I am blisteringly angry about CSS in general AND THIS FUCKING ISSUE IN PARTICULAR since 2005 at the very latest. Likely enough to up the average for several thousand people with only mild dislike for CSS.

      If CSS had a church I would burn it down. In minecraft of course.

    • FizzyOrange@programming.dev
      link
      fedilink
      arrow-up
      38
      ·
      9 months ago

      I would say because a) there are zero alternatives, and b) it’s pretty powerful; you can generally do pretty much any layout even if it requires hacks, c) switching to something else is clearly infeasible so it’s not worth even asking for.

      Just have to live with it (on the web at least).

      • Damage@feddit.it
        link
        fedilink
        arrow-up
        39
        arrow-down
        1
        ·
        9 months ago

        d) we remember the world before it was introduced

        • Tja@programming.dev
          link
          fedilink
          arrow-up
          18
          ·
          9 months ago

          <table />

    • Blackout@fedia.io
      link
      fedilink
      arrow-up
      23
      ·
      9 months ago

      Because things were much worse in the beforetime

      • Damage@feddit.it
        link
        fedilink
        arrow-up
        14
        ·
        9 months ago

        What, you didn’t enjoy slicing up images and arranging them in borderless tables?

        • curry@programming.dev
          link
          fedilink
          arrow-up
          3
          ·
          9 months ago

          Please indicate where IE touched you.

          • Anticorp@lemmy.world
            link
            fedilink
            English
            arrow-up
            5
            ·
            9 months ago

            *gestures broadly at entire body

            • curry@programming.dev
              link
              fedilink
              arrow-up
              1
              ·
              9 months ago

              I put on my trenchcoat and fedora hat.

          • humorlessrepost@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            9 months ago

            In my faux column

        • breckenedge@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          9 months ago

          Eh the software handled all that. Rounded corners tho… <shudder>

          • Tanoh@lemmy.world
            link
            fedilink
            arrow-up
            4
            ·
            9 months ago

            Rounded corners tho… <shudder>

            Just a small gif (as png didn’t exist/widely supported) that had the rounded corner. Then if someone wanted to change the color or background you would have to redo all the images. Fun fun.

            • mindbleach@sh.itjust.works
              link
              fedilink
              arrow-up
              1
              ·
              9 months ago

              Nah it’s fine, we’ll just do the whole website in Shockwave.

          • Anticorp@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            9 months ago

            The software? Are you talking about Adobe Dreamweaver Dreamcrusher or something?

    • Blackmist@feddit.uk
      link
      fedilink
      English
      arrow-up
      9
      ·
      9 months ago

      What we were promised:

      Content in one HTML document.

      Styles in other CSS, able to apply any to completely alter the layout of the document.

      What we got:

      <div class=“mt mid flex lt-8 no-margin up-1”>

    • Kissaki@programming.dev
      link
      fedilink
      English
      arrow-up
      9
      ·
      9 months ago

      It good

    • Anticorp@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      1
      ·
      edit-2
      9 months ago

      CSS 3 is solid, mate. You can do just about anything with it if you know what you’re doing.

      • filcuk@lemmy.zip
        link
        fedilink
        arrow-up
        14
        ·
        9 months ago

        Some of the pure CSS stuff I’ve seen is actually insane.

        Obviously not actually for real world use, but a great example is https://github.com/kkuchta/css-only-chat

        • Anticorp@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          9 months ago

          With pseudo sectors, flex, and grid, your options are amazing. I haven’t encountered a design I can’t build in a very long time.

        • hakunawazo@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          9 months ago

          https://csszengarden.com comes to my mind again.

    • Lemminary@lemmy.world
      link
      fedilink
      arrow-up
      8
      arrow-down
      2
      ·
      9 months ago

      BaCkWaRdS cOmPaTiBiLiTy 😵‍💫

    • xenoclast@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      9 months ago

      Compared to what? JS? (/joke)

    • sebsch@discuss.tchncs.de
      link
      fedilink
      arrow-up
      3
      arrow-down
      2
      ·
      9 months ago

      It’s js being the problem in frontend development, not css

Programming@programming.dev

programming@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: [email protected]

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



Visibility: Public
globe

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

  • 23 users / day
  • 718 users / week
  • 2.93K users / month
  • 7.07K users / 6 months
  • 1 local subscriber
  • 20.1K subscribers
  • 2.2K Posts
  • 34.6K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • MaungaHikoi@lemmy.nz
  • BE: 0.19.7
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org