28

Oldschool CSS was not much fun, but I never understood how this made it any better:

<div><div><div><div><div><div>Bootstrap</div></div></div></div></div></div>

I always forgot a row, had cols inside of cols, forgot how form-groups worked, or found other ways of messing up the whole layout.

Instead of complex CSS, there was now this new complex language entirely expressed through the nesting of layers upon layers of divs. It was like LISP's brackets, but more verbose.

That was the moment I realized that fullstack is bullshit, that there are intrinsic talent differences between frontend and backend devs, and that it's OK to focus on a narrower but deeper field.

Comments
  • 11
    Before i learned a lot of CSS (and long before i knew what responsive design was), i committed this sin:

    <div class="phone">
    Phone: (###) ###-####<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(###) ###-####
    </div>
  • 9
    I taught myself flex and CSS grid, got real good at it through my job and realized why the fuck even use bootstrap. It's not difficult to whip up something real nice within a reasonable time.
  • 5
    @theuser Bootstrap is shit lol

    I used it in class just bc it was easy enough to get a quick & easy 100 on my assignments
  • 9
    @theuser Bootstrap was introduced because there was no flex/grid.

    With flex/grid, combined with component-based frameworks such as React/Vue, Bootstrap became obsolete.
  • 3
    Bloatstrap, my colleague used to call it
  • 2
    Keep in mind that bootstrap also comes with a lot of components beyond the simple grid layout. It was a great alternative to jQuery ui.

    Nowadays, unless you're targeting old browsers, you're better off with grid and flex, like @bittersweet said.
  • 2
    That's a reason why I moved away from Bootstrap a long time ago. I cloned parts of the grid classes to SCSS and all the rest is always custom for the project.
    Latelx I started moving to CSS grid and it's just fucking awesome.
    Flex was never a big help...
  • 2
    @PonySlaystation Yeah I feel like flex was kind of half-assed limited grid. Apparently grid doesn't replace flex completely (https://css-tricks.com/css-grid-rep...) but personally (as a backend guy who doesn't know shit about CSS) I've deprecated flex in favor of grid for my small projects.
Add Comment