6 lý do để bạn chọn Bootstrap CSS Framework

6 lý do để bạn chọn Bootstrap CSS Framework

For those of you, who like me have been developing websites for few years, we tend to use similar chunks of CSS code that we copy paste from project to project.

Those of you who are more organized may have developed your own set of base CSS files to use as foundation for your projects. This method works, but let’s face it, this is not the most efficient way to do things.

Creating a CSS framework that is flexible, follows latest standards and is thoroughly tested takes days of work and could become a project in itself. Most of us don’t have time to do this.

To make matters worse, with the rise of mobile devices, making responsive websites and keeping up with the latest technologies is time consuming.

Bootstrap and CSS frameworks

Designers need a solid foundation that gives us almost everything a typical website would require but is flexible enough for customization. Thanks to hundreds of hours spent by some developers and companies, we now have dozens of CSS Frameworks to choose from.

Among all the available CSS frameworks out there, Bootstrap is my favorite and also one of the most widely used. It's included by default in Joomla 3.

Bootstrap’s CSS files are also provided in LESS which makes it very easy to customize if you already use LESS for CSS pre-processing.

So why should you choose Bootstrap? Here are 6 great reasons:

Reason #1. Easy to get started

CSS Pre-processing is great and every front end developer should learn it. However not everyone is using it. There are still many designers creating and managing CSS files the same old way. Bootstrap offers LESS files for those of us who know how to use it, but it also provides the plain old CSS file for those don’t want to use CSS pre-processing.

To take advantage of what Bootstrap has to offer, you just have to download the files from Bootstrap on Github and after unzipping, include the files in the head of your HTML document.

This example HTML document includes the bootstrap framework with its default styling and every single components and JavaScript plugins.

Reason #2. Great grid system

Bootstrap is built on responsive 12-column grids, layouts and components. Whether you need a fixed grid or a responsive, its only matter of a few changes. Offsetting & Nesting of columns is also possible in both fixed and fluid width layouts.

Another useful set of features are the responsive utility classes using which you can make a certain block of content appear or hide only on devices based on the size of their screen. Very handy when you want to hide some content based on screen size. Adding a class such as .visible-desktop to a element, will make it visible only for desktop users. There are similar classes for tablets and phones.

Reason #3. Base styling for most HTML elements

A website has many different elements such as headings, lists, tables, buttons, forms, etc. All these fundamental HTML elements have been styled and enhanced with extensible classes.

The HTML elements for which styles are provided are:

  • Typography
  • Code
  • Tables
  • Forms
  • Buttons
  • Images
  • Icons

Reason #4. Extensive list of components

Whether you need drop down menus, pagination or alert boxes, Bootstrap has got your covered. Styling of every single element follows a consistent theme and if you know LESS, then customizing it takes just few minutes.

Some of the components pre styled are:

  • Dropdowns
  • Button Groups
  • Navigation Bar
  • Breadcrumbs
  • Labels & Badges
  • Alerts
  • Progress Bar
  • And many others.

Reason #5. Bundled Javascript plugins

The components such as drop down menu are made interactive with the numerous JavaScript plugins bundled in the bootstrap package.

If you project requires sliders, tabs, accordions, then you no longer have to try and test numerous different plugins across the web. Adding these functionalities is just a matter of adding few lines of code and you are all set. With the customization option you can also choose only certain plugins to keep the file size to a minimum.

Reason #6. Good documentation

Not only does Bootstrap offer styling for almost every element a typical website or web application requires, it also provides a great documentation with examples and demo that only make it more easier for even someone new.

Conclusion

You might be happy with your current custom CSS library, but try using Bootstrap for one project and am sure you would ask yourself how you managed all these years without it.

via ostraining.com

Bạn thấy bài viết này như thế nào?: 
No votes yet
Ảnh của Khanh Hoang

Khanh Hoang - Kenn

Kenn is a user experience designer and front end developer who enjoys creating beautiful and usable web and mobile experiences.

Tìm kiếm bất động sản

 

Advertisement

 

jobsora

Dich vu khu trung tphcm

Dich vu diet chuot tphcm

Dich vu diet con trung

Quảng Cáo Bài Viết

 
Nhúng Facebook photo vào Drupal

Nhúng Facebook photo vào Drupal

Nếu đã sử dụng Facebook, ắc hẳn bạn sẽ biết rằng Facebook cho phép người dùng upload không hạn chế hình ảnh, album.

Hướng dẫn tạo multilingual site với Panopoly

Hướng dẫn tạo multilingual site với Panopoly

Download and enable the prerequisite modules: Variable, Internationalisation, Multilingual content, Path translation, Variable translation

thai ngoai tu cung

Mang thai ngoài tử cung: những điều cần biết.

Làm mẹ là thiên chức của tất cả phụ nữ trên thế giới, nhưng trong quá trình thụ thai không phải lúc nào hợp tử cũng đến được đúng vị trí trong tử cung người mẹ mà lại làm tổ ngay trên vòi dẫn trứng được gọi là hiện tượng mang thai ngoài tử cung. Hãy cùng Ad tìm hiểu hiện tượng này.

Công ty diệt chuột T&C

 

Diet con trung