Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install the Bootstrap framework

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Today, the editor will share with you the relevant knowledge points about how to install the Bootstrap framework. The content is detailed and the logic is clear. I believe most people still know too much about this, so share this article for your reference. I hope you can get something after reading this article. Let's take a look at it.

Introduction to Bootstrap

Bootstrap is a concise, intuitive and powerful front-end development framework based on HTML, CSS and JavaScript, so it requires developers to have basic knowledge of HTML, CSS and Javascript. Its biggest advantage is responsive layout, which makes it easy for developers to get the best experience on desktops, tablet devices and mobile phones.

Installation of Bootstrap

To download https://v3.bootcss.com through the official website, you need to note that there are three different download methods for developers with different skill levels and different usage scenarios. Here we usually use the first download method for Bootstrap in production environment.

In the past development process, I often used this method of installation, and the other installation methods will be supplemented when they are used.

Included content

Bootstrap provides two forms of compression package. In the downloaded package, you can see the following directories and files, these files are placed in different directories by category, and both compressed and uncompressed versions are available. The download package contains three folders: CSS, JS and Font.

The decompressed directory structure is as follows:

Bootstrap/ ├── css/ │ ├── bootstrap.css │ ├── bootstrap.css.map │ ├── bootstrap.min.css │ ├── bootstrap.min.css.map │ ├── bootstrap-theme.css │ ├── bootstrap-theme.css.map │ ├── bootstrap-theme.min.css │ └── bootstrap-theme.min.css.map ├── js/ │ bootstrap.js └── bootstrap.min.js └── fonts/ ├── glyphicons-halflings-regular.eot ├── glyphicons-halflings-regular.svg ├── glyphicons-halflings-regular.ttf ├── glyphicons-halflings-regular.woff └── glyphicons-halflings-regular.woff2

The CSS folder is shown in the figure:

The JS folder is shown in the figure:

The Font folder is shown in the figure:

Note: files with min are compressed files, and we generally refer to compressed files in projects. Files with map are CSS source mapping tables that can be used in the development tools of some browsers.

Basic application template

The use of the Bootstrap framework is to introduce its CSS file and JS file into the written web page. Here I am referring to the compressed format of the two files. You can clearly see in the figure that I referenced the jQuery library before introducing Bootstrap's JS file, because all JavaScript plug-ins of Bootstrap depend on jQuery, so jQuery must be introduced before Bootstrap, and it should be noted that the version of the jQuery library that Bootstrap supports must be above 1.9.1.

Tools

1. Common IDE development tools can write bootstrap responsive pages, such as VS Code,WebStorm

2. Bootlint: the HTML detection tool officially supported by Bootstrap. Bootlint detects whether the Bootstrap components on your page conform to the HTML structure rules of Bootstrap.

These are all the contents of the article "how to install the Bootstrap Framework". Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report