Home >Web Front-end >Bootstrap Tutorial >Is bootstrap useful?
If you want to know more about Bootstrap, you can click: Bootstrap Tutorial
Bootstrap is an open source toolkit for front-end development launched by Twitter. It is a CSS/HTML framework. It was developed by Twitter designers Mark Otto and Jacob Thornton. 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.
It is a framework for making web pages (currently the most popular WEB front-end framework), which means that you only need to write HTML tags to call its classes and you can quickly make a high-end web page. You don’t have to worry. Compatibility issues, many styles are provided for you to choose from!
For example, you need to make a website navigation, right? If you write it yourself, you need to write a lot of code, but if you use the bootstrap framework to write it, you only need to write the HTML tag and call the class name. !
Function:
Use the styles and components it provides to quickly write websites
You only need to reference some defined Class, that is, the class name, you can create a web page with a very beautiful style, and it supports self-adaption, which is a very good framework.
============================================== =================================
To put it simply: it is an open source project to quickly build the front page of a website. (based on Jquery). You only need to understand the meanings of relevant classes, tag names, etc., and then when building the page, import bootstrap's JS, css, etc., and it will show the corresponding effects:
For example, HTML description: abbreviation ; The full content will be displayed when the mouse is hovered over abbreviations and abbreviations. Bootstrap implements enhanced styles for HTML elements. The abbreviation element has a title attribute and appears as a light dotted frame. When the mouse is moved over it, it will turn into a pointer with a "question mark". When you need a certain word or phrase in the paragraph text to have the above effect, you can just write it in that format. The additional class="initialism" makes the font size smaller, or it is not necessary. On the other hand: if you don't try bootstrap or other similar frameworks, then you have to write such effects yourself, which takes a long time to develop. Another example is Jquery's easyui, which is similar.
bootstrap advantages and disadvantages
Advantages: 1. Bootstrap has been improving. Bootstrap 4 was recently released and has box -Flex layout and other updates to keep up with the latest web technology developments.
2. It is relatively mature and has been fully used and tested in a large number of projects.
3. It has complete documentation and is more convenient to use
4. It has a large number of component styles and can be customized.
Disadvantages: 1. If you have your own special needs, you need to re-customize the style, which will produce redundant code and consume more opening time. The user experience is not good.
2. There will be compatibility issues. Although there are many ways to be compatible with IE on the Internet (although IE6, 7, 8, 9, and 10 are almost eliminated, many people in China are still using them), but other files need to be introduced to To achieve compatibility, some files are not small enough, which will inevitably lead to slower loading speed and affect the user experience.
The above is the detailed content of Is bootstrap useful?. For more information, please follow other related articles on the PHP Chinese website!