Sergey's Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Otter@lemmy.ca to Programming@programming.devEnglish · 2 years ago

CSS finally adds vertical centering in 2024

build-your-own.org

external-link
message-square
72
link
fedilink
331
external-link

CSS finally adds vertical centering in 2024

build-your-own.org

Otter@lemmy.ca to Programming@programming.devEnglish · 2 years ago
message-square
72
link
fedilink
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
    ·
    2 years ago

    Why are we not angrier about css generally?

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

      Because things were much worse in the beforetime

      • Damage@feddit.it
        link
        fedilink
        arrow-up
        45
        ·
        2 years ago

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

        • breckenedge@lemmy.world
          link
          fedilink
          arrow-up
          13
          ·
          2 years ago

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

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

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

          • Damage@feddit.it
            link
            fedilink
            arrow-up
            4
            ·
            2 years ago

            WYSIWYG editors were evil

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

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

            • palordrolap@fedia.io
              link
              fedilink
              arrow-up
              3
              ·
              2 years ago

              My money’s on Microsoft Frontpage

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

                What a catastrophic attempt at a GUI website editor.

                • Damage@feddit.it
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  2 years 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
          ·
          2 years ago

          Please indicate where IE touched you.

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

            *gestures broadly at entire body

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

              I put on my trenchcoat and fedora hat.

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

            In my faux column

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

        Before 1996?

    • Angry_Autist@lemmy.world
      link
      fedilink
      arrow-up
      49
      arrow-down
      1
      ·
      2 years 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
      ·
      2 years 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
        ·
        2 years ago

        d) we remember the world before it was introduced

        • Tja@programming.dev
          link
          fedilink
          arrow-up
          18
          ·
          2 years ago

          <table />

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

      It good

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

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

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

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

      BaCkWaRdS cOmPaTiBiLiTy 😵‍💫

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

      Compared to what? JS? (/joke)

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

  • 281 users / day
  • 1.73K users / week
  • 3.83K users / month
  • 8.64K users / 6 months
  • 1 local subscriber
  • 26.4K subscribers
  • 3.11K Posts
  • 45.9K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • UlrikHD@programming.dev
  • bugsmith@programming.dev
  • Spyro@programming.dev
  • BE: 0.19.17
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org