Home  >  Article  >  Web Front-end  >  Detailed explanation of bootstrap principle, advantages and disadvantages

Detailed explanation of bootstrap principle, advantages and disadvantages

PHPz
PHPzOriginal
2018-01-22 11:18:393971browse

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 tutorial

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn