Which version of bootstrap should I use?
It is better to use Bootstrap3 version for bootstrap. The biggest change between Bootstrap3 and Bootstrap2 is Mobile first, flat design, and browser compatibility.
So our choice is mainly based on the comparison of these three points.
Mature Template Perspective
For 2, there are many mature background management templates and templates. But for 3, there seem to be relatively few templates.
mobile priority perspective
In terms of mobile priority, Bootstrap3 does much better than Bootstrap2 (although Bootstrap2 is not bad), due to the huge success of Foundation and the great popularity of responsive layout potential, Bootstrap3 has also begun to exert force on the mobile side.
Design Style Perspective
Avoiding unnecessary design troubles is one of the important reasons why front-end programmers choose front-end development frameworks. Elements such as buttons, fonts, navigation bars, login boxes, etc. There are corresponding styles in Bootstrap that can be used.
Browser compatibility angle
Browser compatibility has always been a thorn in the side of front-end engineers. The domestic share of IE8, IE7 and even IE6 forces many web applications to Have to be compatible with them.
I hope this article will be helpful to friends who are still having a headache on how to choose the Bootstrap version. You can also leave your own opinions and discuss them together.
Related recommendations: "bootstrap tutorial"
The above is the detailed content of Which version to use for bootstrap?. For more information, please follow other related articles on the PHP Chinese website!