DEV Community

Cover image for Master CSS Then Move to Bootstrap ?
JustinW7
JustinW7

Posted on

Master CSS Then Move to Bootstrap ?

Whether you should master CSS or move to Bootstrap depends on your specific needs and goals.

Mastering CSS:

Advantages:

  1. Understanding CSS fully gives you complete control over the styling and layout of your web pages.
  2. It allows for greater customization and flexibility in design.
  3. You'll have a deeper understanding of how web styling works, which can be beneficial for troubleshooting and optimizing performance.

Considerations:

  1. Learning CSS thoroughly can take time and effort.
  2. It requires keeping up with updates and new features in CSS.
  3. You'll need to write more code compared to using frameworks like Bootstrap.

Using Bootstrap:

Advantages

  1. Bootstrap provides pre-designed CSS components and utilities that can speed up development.
  2. It offers a responsive grid system, making it easier to create layouts that work well across different screen sizes.
  3. It comes with built-in styles for various elements, reducing the need to write custom CSS.

Considerations:

  1. Bootstrap has its own learning curve, although it's generally quicker to pick up than mastering CSS from scratch.
  2. Your designs may look similar to other websites using Bootstrap if you stick solely to its default styles.
  3. Customization beyond Bootstrap's defaults might require additional CSS or overriding existing styles.
  4. Consider the following factors to make your decision:
  5. Project Requirements: If your project demands unique design or extensive customization, learning CSS fully might be more suitable. For quick prototyping or projects with less emphasis on design customization, Bootstrap can be efficient.
  6. Time Constraints: If you need to deliver a project quickly, Bootstrap can save time due to its pre-built components and responsive grid system. Learning CSS fully will take more time initially, but it can offer long-term benefits in terms of flexibility and customization.
  7. Long-Term Goals: If you're pursuing a career in web development, understanding CSS thoroughly will be valuable in the long run. However, familiarity with Bootstrap is also beneficial since it's widely used in the industry.

Ultimately, a combination of both skills is ideal. Start with Bootstrap to get projects done efficiently, and gradually deepen your understanding of CSS to enhance your capabilities as a web developer.

Top comments (5)

Collapse
 
leander99 profile image
Edwin • Edited

I'd start with Bootstrap, because it will enable you to build responsive websites. You can maybe also start with Tailwind.
It will give more purpose and direction to what you are learning.

Then you can learn more specific styling with css later.

Collapse
 
welshapple profile image
William

If you are trying to master CSS you absolutely should not start in Bootstrap or Tailwind.

Frameworks are designed to speed up development time and eliminate the need to write often reused styles. They also function well for developers with little CSS knowledge who wish to create functioning UIs, for example back end developers.

If you want to truly learn CSS write your own CSS and properly get to terms with what properties have what effect. Your comment even says "bootstrap allows you to build responsive sites" which is just wrong. Proper markup and media queries allows you to create responsive websites, which one would understand once they start writing their own CSS rather than relying on a frontend framework.

Collapse
 
posandu profile image
Posandu

That's not completely true. Learning CSS first will help you to understand the basic concepts like flexbox and grid. Even though Bootstrap is easier to work with, you may struggle in situations where the article mentions:

  • Customization beyond Bootstrap's defaults might require additional CSS or overriding existing styles.
  • Project Requirements: If your project demands unique design or extensive customization, learning CSS fully might be more suitable. For quick prototyping or projects with less emphasis on design customization, Bootstrap can be efficient.

I made the mistake of learning CSS frameworks first and did weird things such as using float for grids 😅

Collapse
 
justinw7 profile image
JustinW7 • Edited

Yes .good but if you want to build projects something as your own or a new thing in the industry that require more styling then mastering css is ideal

Collapse
 
devlawrence profile image
Amrasakpare Lawrence

This is not an accurate information..It's just as saying someone should learn react before JavaScript which does not make sense.

Learn CSS to some level before moving to a library like bootstrap