Home >Web Front-end >JS Tutorial >Detailed explanation of bootstrap principle, advantages and disadvantages
This article mainly shares with you the principles and advantages and disadvantages of bootstrap. The implementation principle of the grid system is to define the size of the container and divide it into 12 equal parts (it can also be divided into 24 or 32 parts, but 12 parts are the most common), and then Adjust the inner and outer margins, and finally combine it with media queries to create a powerful responsive grid system. The grid system in the Bootstrap framework divides the container into 12 equal parts.
bootstrap advantages and disadvantages:
1.bootstrap recently released bootstrap4, which has box-flex layout and other updates, keeping up with the development of the latest web technology
2. Relatively mature, fully used and tested in a large number of projects
3. With complete documentation, it is more convenient to use
4. There are a large number of component styles, accepted Customization
Disadvantages:
1. If you have your own special needs, you need to re-customize the style. If there are a large number of non-bootstrap "style" styles in a website exists, then you need to do a lot of css rewriting, so the meaning of using the framework is lost.
2. There will be compatibility issues. Although there are many ways to be compatible with IE on the Internet, other files need to be introduced, some of which are quite small, which will inevitably cause the loading speed to slow down and affect the user experience.
Related recommendations:
Bootstrap table usage summary sharing
bootstrap Table server-side processing paging example sharing
The above is the detailed content of Detailed explanation of bootstrap principle, advantages and disadvantages. For more information, please follow other related articles on the PHP Chinese website!