Paul Mentis

Website tester Joined 24 days ago

  • 1 story
  • 1 comment
  • 3 upvotes
  • Posted to CSS Grid Layout vs CSS Frameworks: When To Use What?, in reply to Josh Sanders , Jul 03, 2020

    I agree with your point as well and in fact, I tried to cover these points within the article as well.

    CSS frameworks like Materialize or Bootstrap are much more than Grid systems. In their overall robustness, grid is just one of the features. If you want to build different UI components like navbar, carousel, sliders, cards, accordions, tabs, pop-ups, modals, buttons, etc at lightning pace with a minimum CSS styling then you should be using CSS frameworks.

    But that is also one of the arguments against them as well. Such a large number of often unused features in these CSS frameworks like Bootstrap, Materialize or Bulma results in excessive Code Bloating. Tons of needless CSS styling rules that will never be used will weigh down your project. If you want to keep your website compact in size to boost load speed and performance, CSS Grid is the better choice.

    Another reason to pick CSS grid over CSS framework is that with frameworks you can be stuck with symmetrical column grid system. Achieving an asymmetrical grid like with 5 or 7 or 9 column layout would be difficult, not impossible, just require some effort that i would like to avoid.

    You will find these pointers in the article as well and more. The article isn't claiming that CSS Grid will entirely replace the need for CSS frameworks or vice-versa. Its explaining about the practical use for both.

    0 points
Load more comments