• Dragon@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      1 day 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.

    • thesmokingman
      link
      fedilink
      arrow-up
      12
      ·
      2 days ago

      Strange; the page is shilling for a product that doesn’t use raw HTML for its site.

    • ulterno
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 days 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.

  • Flamekebab@piefed.social
    link
    fedilink
    English
    arrow-up
    44
    arrow-down
    1
    ·
    3 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
      5
      ·
      edit-2
      2 days 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
        2
        ·
        2 days 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
      ·
      3 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
        ·
        3 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
          ·
          3 days ago

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

        • somegeek
          link
          fedilink
          arrow-up
          4
          arrow-down
          2
          ·
          3 days ago

          All the elements you mentioned are natove HTML elements that don’t need any library.

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

                I was going to list a whole bunch of things the DETAILS tag doesn’t allow, but it seems that none of these issues actually appear. So either it has evolved since I’ve looked at it last time or I was stupid.

                Either way, thanks for talking back.

          • refalo
            link
            fedilink
            arrow-up
            5
            ·
            3 days ago

            many native elements either do not function like people want or cannot be styled the same

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

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

    • refalo
      link
      fedilink
      arrow-up
      10
      ·
      3 days ago

      I’m a huge fan of bootstrap and I feel that writing CSS from scratch is much harder.

    • etchinghillside@reddthat.com
      link
      fedilink
      arrow-up
      8
      ·
      3 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
        ·
        3 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.