Bootstrap is an open source WEB front-end framework launched by Twitter, the famous social networking site and pioneer of Weibo, in August 2011. It integrates CSS and HTML and uses the latest browser technology to provide a set of front-end tools for rapid WEB development. Packages including layouts, grids, tables, buttons, forms, navigation, prompts, and more. Using Bootstrap, you can build a very elegant front-end interface that takes up very little resources.
Bootstrap was developed by Mark Otto and Jacob Thornton of Twitter. (Recommended learning: Bootstrap video tutorial)
Bootstrap is an open source product released on GitHub in August 2011.
Bootstrap is a front-end framework for rapid development of web applications and websites. Bootstrap is based on HTML, CSS, and JAVASCRIPT.
Early Twitter front-end engineers used almost any library they were familiar with to cope with front-end development needs. The problem caused by this was that maintenance and expansion were very difficult. In the end, Bootstrap became the solution to these challenges and began to grow rapidly within Twitter. It was widely adopted by twitter.com and formed a stable version. As engineers continue to develop and improve it, Bootstrap has made significant progress, including not only basic styles, but also more elegant and durable front-end design patterns.
Use Bootstrap to build an elegant Web Page
The core of Bootstrap is CSS built based on the Less framework. So when it comes to Bootstrap, we must talk about Less.
About Less
Less is a dynamic CSS language framework. Less extends the dynamic characteristics of CSS. Compared with traditional CSS, Less provides more powerful functions. and flexibility. Based on Less, we can use embedded declarations, variables, blending modes, operations, and color editing functions when writing CSS. To put it simply, Less allows you to write CSS like programming and store the program in a file with the suffix less. Less provides a framework to compile it into a standard CSS file.
As a simple example, if you want to set the same color for multiple styles, you can write like this:
@color: #FFFFFF; h1 { color: @color; } #sub{ color: @color; } #编译后 h1 { color: #ffffff; } #sub { color: #ffffff; }
The above code is just the simplest application of Less. In addition to variables, you can also perform mathematical operations, pass parameters, file mutual references, rule nesting, etc. in CSS. You can imagine how much change this way of writing CSS will bring to front-end development. Whether in terms of flexibility, scalability, or maintainability, Less has greatly improved CSS development and made it more dynamic.
For more technical articles related to Bootstrap, please visit the Bootstrap Tutorial column to learn!
The above is the detailed content of When was bootstrap open sourced?. For more information, please follow other related articles on the PHP Chinese website!