lemmy.az.social
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Otter@lemmy.ca to Programming@programming.devEnglish · 1 year ago

CSS finally adds vertical centering in 2024

build-your-own.org

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

CSS finally adds vertical centering in 2024

build-your-own.org

Otter@lemmy.ca to Programming@programming.devEnglish · 1 year ago
message-square
72
link
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
    78
    arrow-down
    11
    ·
    1 year ago

    Why are we not angrier about css generally?

    • Blackout@fedia.io
      link
      fedilink
      arrow-up
      63
      arrow-down
      2
      ·
      1 year ago

      Because things were much worse in the beforetime

      • Damage@feddit.it
        link
        fedilink
        arrow-up
        45
        ·
        1 year ago

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

        • breckenedge@lemmy.world
          link
          fedilink
          arrow-up
          13
          ·
          1 year ago

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

          • Tanoh@lemmy.world
            link
            fedilink
            arrow-up
            13
            ·
            1 year 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
              8
              ·
              1 year ago

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

          • Damage@feddit.it
            link
            fedilink
            arrow-up
            4
            ·
            1 year ago

            WYSIWYG editors were evil

          • AwkwardLookMonkeyPuppet@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 year ago

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

            • palordrolap@fedia.io
              link
              fedilink
              arrow-up
              3
              ·
              1 year ago

              My money’s on Microsoft Frontpage

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

                What a catastrophic attempt at a GUI website editor.

                • Damage@feddit.it
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  1 year ago

                  Imagine how I felt when they decided to teach us that in school, when I was already familiar with Dreamweaver… And notepad

        • curry@programming.dev
          link
          fedilink
          arrow-up
          5
          arrow-down
          1
          ·
          1 year ago

          Please indicate where IE touched you.

          • AwkwardLookMonkeyPuppet@lemmy.world
            link
            fedilink
            English
            arrow-up
            6
            ·
            1 year ago

            *gestures broadly at entire body

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

              I put on my trenchcoat and fedora hat.

          • humorlessrepost@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 year ago

            In my faux column

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

        Before 1996?

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

        d) we remember the world before it was introduced

        • Tja@programming.dev
          link
          fedilink
          arrow-up
          18
          ·
          1 year ago

          <table />

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

      It good

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

    • AwkwardLookMonkeyPuppet@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      1
      ·
      edit-2
      1 year 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
        ·
        1 year 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

        • AwkwardLookMonkeyPuppet@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year 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
          1 year ago

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

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

      BaCkWaRdS cOmPaTiBiLiTy 😵‍💫

    • xenoclast@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Compared to what? JS? (/joke)

    • sebsch@discuss.tchncs.de
      link
      fedilink
      arrow-up
      3
      arrow-down
      2
      ·
      1 year 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.

  • 405 users / day
  • 1.22K users / week
  • 3.5K users / month
  • 8.04K users / 6 months
  • 1 local subscriber
  • 22.1K subscribers
  • 2.37K Posts
  • 36.6K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • MaungaHikoi@lemmy.nz
  • UlrikHD@programming.dev
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org