• Dragon@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      5 hours ago

      Ok the wild thing is when I open this website in my Lemmy app it doesn’t display most of the text… There is a white background instead of black, so the white text doesn’t display.

    • ulterno@programming.dev
      link
      fedilink
      English
      arrow-up
      5
      ·
      23 hours ago

      I had been looking for how to add Expandable sections using HTML.

      Couldn’t find it when I googled it.
      Now, after almost a year of having given up, found it.

    • Luci@lemmy.ca
      link
      fedilink
      English
      arrow-up
      5
      ·
      24 hours ago

      Aside from the misguided part about AI, this is hilarious!

  • Flamekebab@piefed.social
    link
    fedilink
    English
    arrow-up
    43
    arrow-down
    1
    ·
    2 days ago

    I have to use Bootstrap at work and I’m really not a fan. It’s somehow more work than writing CSS from scratch.

    • ☂️-@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      16 hours ago

      i found it pretty good to work with after i mastered the classes

      helps a lot on those big boring internal panel projects

      saves you quite a lot of time and effort of writing all the stuff yourself.

      • Flamekebab@piefed.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        12 hours ago

        I honestly just find the extra layers to make it harder for me to know what my code is doing. I’d rather set proper CSS margin-bottom than mb-1. Having to learn the Bootstrap way of doing things when I already know the traditional way mostly feels like a waste of my time. It’s not, but it’s hard to stay engaged when I can already do a thing in a more standardised way.

        Kind of like a site I’ve been stripping the jQuery out of. You don’t need that to show/hide a couple of form fields, FFS. Or the special JS library for doing pop overs. Come on, there’s three fields on the entire website that use them, just use HTML5 popovers.

        I imagine Bootstrap is probably more useful for stuff where more complex layouts are needed, or when a site needs to be more responsive to different browser shapes (as in desktop vs. various mobile form factors).

    • Trailblazing Braille Taser@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      26
      arrow-down
      1
      ·
      2 days ago

      I don’t do much frontend work these days, but years ago, it felt like the defining feature of Bootstrap was the 12-column layout. Sure, it had fun buttons and other components, but the ability to trivially define multi-column layout without ripping your hair out was its raison d’être.

      Now that we have flexbox, I’m not sure anyone needs Bootstrap.

      • bleistift2@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        17
        ·
        2 days ago

        It also has lots of UI widgets like collapsing elements, modals and alerts. Sure, you could code all these by hand, but why bother?

        • Flamekebab@piefed.social
          link
          fedilink
          English
          arrow-up
          11
          ·
          2 days ago

          Mainly because I already understand CSS and HTML and having to learn their way of doing things is extra work and overhead.

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

          We have better alternatives today as well and still I see people choosing Bootstrap and violently cringe.

    • etchinghillside@reddthat.com
      link
      fedilink
      arrow-up
      8
      ·
      2 days ago

      I’m kind of surprised to see its name. Was fairly widespread back in angular/backbone days – I kind of assumed all the useful stuff from it got adopted natively as I haven’t really heard any frontend teams I’ve worked with over the recent years mention it.

      • WanderingVentra@lemm.ee
        link
        fedilink
        arrow-up
        7
        ·
        2 days ago

        I used it a little in a recent project, but I’m mostly a backend dev and am new to front end. When I Googlef how to make stuff pretty or improve UI, a lot of results were still related to Bootstrap, probably because it was so ubiquitous for so many years.