Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
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> (###) ###-####
</div> -
theuser48026yI 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.
-
@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 -
@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. -
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. -
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... -
@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.
Related Rants
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.
rant
wk140