Civilloquy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Otter@lemmy.ca to Programming@programming.devEnglish · 11 months ago

CSS finally adds vertical centering in 2024

build-your-own.org

external-link
message-square
34
fedilink
  • cross-posted to:
  • webdev@programming.dev
292
external-link

CSS finally adds vertical centering in 2024

build-your-own.org

Otter@lemmy.ca to Programming@programming.devEnglish · 11 months ago
message-square
34
fedilink
  • cross-posted to:
  • webdev@programming.dev
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
    69
    arrow-down
    10
    ·
    11 months ago

    Why are we not angrier about css generally?

    • Blackout@fedia.io
      link
      fedilink
      arrow-up
      56
      arrow-down
      2
      ·
      11 months ago

      Because things were much worse in the beforetime

      • HowManyNimons@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        11 months ago

        Before 1996?

    • Angry_Autist (he/him)@lemmy.world
      link
      fedilink
      arrow-up
      42
      arrow-down
      1
      ·
      11 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
      33
      ·
      11 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).

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

      It good

    • Blackmist@feddit.uk
      link
      fedilink
      English
      arrow-up
      7
      ·
      11 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”>

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

      BaCkWaRdS cOmPaTiBiLiTy 😵‍💫

    • Anticorp@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      edit-2
      11 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
        13
        ·
        11 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
          ·
          11 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
          11 months ago

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

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

      Compared to what? JS? (/joke)

    • sebsch@discuss.tchncs.de
      link
      fedilink
      arrow-up
      2
      arrow-down
      2
      ·
      11 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: !programming@programming.dev

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 !webdev@programming.dev



Visibility: Public
globe

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

  • 261 users / day
  • 744 users / week
  • 2.06K users / month
  • 6.14K users / 6 months
  • 1 local subscriber
  • 21.4K subscribers
  • 2.1K Posts
  • 24.4K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • UlrikHD@programming.dev
  • BE: 0.19.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org