Disadvantages: 1. The learning cost increases, you need to understand the entire framework, and you need to read the framework's documentation; 2. The CSS framework is very bloated for a small project and other pages; 3. There will be compatibility issues, although there are online There are many methods that are compatible with IE, but they require the introduction of other files, some of which are quite small, which will inevitably cause the loading speed to slow down and affect the user experience.
[Related recommendation: "bootstrap video tutorial"]
Bootstrap comes from Twitter and is currently very popular Front-end framework. Bootstrap is based on HTML, CSS, and JavaScript. It is simple and flexible, making web development faster. It was developed by Twitter designers Mark Otto and Jacob Thornton and is a CSS/HTML framework.
Bootstrap provides elegant HTML and CSS specifications, which are written in the dynamic CSS language Less. Bootstrap has been very popular since its launch and has been a popular open source project on GitHub, including NASA's MSNBC (Microsoft National Broadcasting Company) Breaking News.
Some frameworks that are familiar to domestic mobile developers, such as the WeX5 front-end open source framework, are also performance optimized based on the Bootstrap source code.
Disadvantages of the bootstrap framework:
Increased learning costs. You need to understand the entire framework and read the framework's documentation.
The css framework is bloated for pages such as a small project. There probably is a lot of code in the framework that you won't use.
may not help you improve your skills. Too dependent on the framework, making it difficult to troubleshoot bugs. Including bugs inherent in the framework.
It is painful to choose the framework and development framework you need. After writing it, I found that it was becoming more and more inflexible and bloated.
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, then you need to do a lot of css re-routing. writing, therefore the meaning of using a framework is lost.
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.
BT's compatibility with IE6 and 7 is definitely not good, and support for IE8 also requires some additional files.
The media query of IE8 requires the cooperation of response.js to achieve
BT does not support IE’s ancient compatibility mode. In order to allow IE browser to run the latest rendering mode, it is recommended to add this tag to your page:
Press the F12 key to open IE's debugging tool, and you can see what IE's current rendering mode is.
For more programming-related knowledge, please visit: Introduction to Programming! !
The above is the detailed content of What are the disadvantages of the Bootstrap framework?. For more information, please follow other related articles on the PHP Chinese website!