DEV Community

Cover image for Master CSS :- Top CSS Frameworks and Resources
Rahul Mishra
Rahul Mishra

Posted on • Originally published at programmingport.hashnode.dev

Master CSS :- Top CSS Frameworks and Resources

The average attention span of a normal person is 8 seconds, so
it is really important that your website is attractive in decent way, that the user like and continue to stay on it, and in order to do you need to be quite good in CSS. Let's see how can you master/upgrade your CSS skills.

CSS

You all know that CSS has a very important role in the website. As HTML provides the structure of the web page, CSS provides layouts (visual and aural) for a variety of devices. So, it becomes very important for a web developer to spend time on styling his/her website to give it a decent look, but if you do this by using pure CSS (by writing everything by your own) it would be very difficult, time consuming and painful.

Then how can we save our precious time and build a decent looking web page ?

The answer for this question is by using CSS Frameworks

You can understand the term Framework as it provides a foundation on which software developers can build programs for a specific platform.

Let's dive in and explore some of the most popular and common CSS frameworks, which will make your life a lot easier.

  1. Bootstrap :- Bootstrap is the most popular CSS framework among the developers, and this is because it is very easy to learn and masetr, plus the development of website become very much faster. The reason it is the most used framework because of it's pre-written classes, to give you an overview suppose you want to add a button then in HTML file you just have to decalare a class btn inside the button tag, and boom !! It's done. <button class="btn">Programming Port</button>

post2_img1.png
The main reason that bootstrap is used more frequently is that, there pre-written classes for almost everything you need to add in your website.

Pros :-

  1. 45% of the CSS developers had used it and would use it again.
  2. Time saver
  3. Prevent any browser compatibility testing issues.
  4. Well-maintained codebase
  5. Better consistency and teamwork.
  6. Low learning curve.

Cons :-

  1. Battery drain and slow loading time.
  2. All website looks the same.

Who is using Bootstrap ?

Twitter, Spotify, Walmart, Intel, Udemy, Mint

  1. Materialize CSS :- Materialized CSS is a morden reponsive CSS framework designed by Google

post2_img2.png
If you want to make a website which has classy UI, then Materialize contains a plethora of custom CSS to help accomplish a unique website design. Materialize is a blend of clever CSS and top-notch design aesthetics.

Pros :-

  1. 17.7 % of the CSS developers have used it and would like to use it again.
  2. Variety of Built-in features.
  3. Reduces coding time.
  4. Great plugin selections.
  5. Ease of use.

Cons :-

  1. Complex JavaScript components.
  2. Less support

Who is using Materialize CSS ?
WPArena, Digital Services, GameRaven, DroneDeploy.

  1. Tailwind :- Tailwind is not a complete framework, rather it is a utility-first famework. This means that you as a developer have more power in your hand, because you can customize it with your custom CSS and also it provides you an ease of development, so it is very handy framework. In Tailwind all you need is to do determine thoroughly is the scope of your project.

post2_img3.png

Pros :-

  1. 4.9 % of the CSS developers have used it and would like to use it again.
  2. Site Unaffected by individual changes.
  3. Ease of use.
  4. Highly customizable.
  5. Greater development speed.

Cons :-

  1. Insignificant for the experts.
  2. Doesn't support grid layout.

Who is using Tailwind ?
BlaBlaCar, otto-now, Clasisights, JetThoughts, EXR

Note one thing that you have to add your custom CSS in your website to achive a decent looking website. If you use less custom CSS and rely more on the framework for styling then it is more likely that your website somehow looks similar to other websites.

Keep in mind that CSS framework is used only to speed-up your development process.

There are many more frameworks which I had not mentioned here, that doesn't mean that they are bad or you should not use them.

No, that's not the case. The frameworks mentioned here are popular frameworks right now, they have good documentation and they are quiet easy to learn and master in order to give a decent look to your website.

But is is highly recommended that you should use the framework according to your requirement, for example : if you want to develop a website very quickly then go with Bootstrap, if you want to give a classy and smooth look to your website then use Materialize CSS and if you do not want to write entire CSS by yourself but want it to be customized entirely according to you then my recommendation is that you should use Tailwind

Remember one thing that you have to choose a framework according to the use-case, this is best and recommended way in any development practice.

I hope that this article be helpful for you, and will help you to choose your next CSS framework.

Contact Me

Twitter
LinkedIn
Telegram

Other links

GitHub
HackerRank
Instagram

Top comments (4)

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
rahulmishra05 profile image
Rahul Mishra

Yeah, that is also a great framework, I will surely try it out in future : D

Collapse
 
roblevintennis profile image
Rob Levin

Thanks for the write-up. How come no know sizes? It’d be nice also to show how to use these as modules for the ones that allow you to eg Bootstrap.

I disagree with everyone’s opinion of BS equals lookalike. Folks need to start playing with SCSS variables and CSScustom properties! 💪 💥 ⭐

Collapse
 
louislow profile image
Louis Low

Sure and thanks.