CSS Frameworks and why you (and everyone!) should use them
CSS frameworks are amazing. Even if you are one who shuns the use of a template for your web page, I really don’t feel that there is any reason a framework should be not be used in pretty much every web project. They offer so much with so little cost. Here’s a list you should take a gander at if you’re not sure which one to use. I personally use bootstrap for all of my projects.
Having a responsive website has been important for the last few years but since Google’s change to actually boost the ranking of mobile-friendly sites (aka punish non mobile-friendly sites), it’s essential if you care about ranking at all. Looking at the list I provided above, the first nine frameworks include responsive support. That means by default your site will scale based on the media consuming it.
This is amazing. You don’t even really have to think about it anymore. You don’t have to hand craft your media queries for each possible outcome and test them all. You can feel safe knowing that they have all already been tested and provide a great mobile experience right out of the box.
No need to reinvent the wheel
Need a modal? How about a popover? Tabs? Accordions? The modern frameworks have you covered. Just include the js and css files, apply the classes to your elements and BAM you are set.
Have a situation that is a little trickier? It’s likely that it’s been done already with the more popular frameworks (Bootstrap). I like to use a site called Bootsnipp. It has snippets that others have produced for their issues. Things such as a custom login/registration, profile pictures, pricing tables, and spinning social icons. It’s well worth checking out as it can save you a lot of time and headache.
Even if you can’t find what you need from Bootsnipp or the standard framework, using something like this allows you to reach out to the communities behind them and ask for help. The tag “twitter-bootstrap” alone has 46,246 questions on Stackoverflow. Lots of people will be there to help and easily understand your problem when you use a popular framework.
CSS Frameworks have great implementation and documentation
Like I said, I typically use Twitter’s bootstrap and the documentation they provide is amazing. Just include the css and js files and you can lean on any of their classes. The documentation they provide it outstanding, complete with code snippets that you can just copy and paste into your page.
Using CSS frameworks will make the front end CSS side of your project so much easier and I highly encourage. There are a lot of great, open-source solutions that are worth using.
Have a framework that you love? Have a reason to hate CSS frameworks? Please drop a comment below and let me know!
This MailChimp shortcode is now deprecated. Please insert the new shortcode to display this form.