First, build BOOTSTAP environment
Can use Bootstrap CDN service, in
This order cannot be changed, because Bootstrap.min.js needs to invoke the jquery library, so jquery.min.js to precede it.
Second, localization BOOTSTAP environment
Sometimes the network is a bit of a card, refresh the page slow, affect the Web development mode, to solve this problem of the small impatient of the way to loc
Tags: Google CDN front-end plug-in
Chrome Web store installation address:Https://chrome.google.com/webstore/detail/replace-google-cdn/kpampjmfiopfpkkepbllemkibefkiice
As we all know, you only need to replace a domain name to continue using the front-end public library provided by
CDN stands for Content Delivery Network (CDN. The purpose is to add a new network architecture to the existing Internet to publish website content to the "edge" closest to the user's network ", this allows users to obtain the desired content from the nearest node to solve the problem of Internet congestion and improve the response speed of users accessing the website. Technically, it solves the slow respons
Chrome Web Store Installation Address:Https://chrome.google.com/webstore/detail/replace-google-cdn/kpampjmfiopfpkkepbllemkibefkiice
For well-known reasons, simply replacing a domain name will allow you to continue using the front-end public libraries provided by Google. The same, use the script tag to refer to these resources, so that the site access to
details, it's recommended to load Google jquery. Speaking of some of the students here will ask why the bias to load Google jquery library it? Let me talk to you about the benefits of using Google to load jquery library files.
Maybe loading jquery from Google is not necessarily faster than your site. But when
Since jQuery 1.3, I have not provided the pack version, and I am in favor of using Google CDN for code hosting.
This solution has the following benefits:
1. Smaller downloads.
We all know that there are as many as 38 kb after jQuery 1.3 pack. If you can delete the copyright annotation to get a smaller code, unfortunately this is not only shameless but only saves 1 kb. However, the Min version that uses GZip
Previously, jquery script library was introduced in the website as follows:
Sometimes we need to introduce other large script class libraries, such as prototype. Every time we introduce them, we have to consider how depressing customers are when they open the web page.
Now, Google and Microsoft provide CDN services for libraries such as jquery, prototype, and mootools. In this way, users can access these s
way, we load the JS library of jquery 1.3.2 from Google's latest CDN image, and then we can write the JS Code normally. However, even Google's CDN images take time to download. What if the browser has explained the following code before the code library is downloaded? We can set to execute JS after loading the JS Library:Google. setonloadcallback (function () {// code to be executed });For more information
this:Google.load ("jquery", "1.3.2");
In this way we will be from Google's recent CDN image loaded with the jquery 1.3.2 version of the JS library, then you can write the normal JS code. However, even Google's CDN image, download is after all, it takes time, in case the code base has not been downloaded and the browser has explained the following code how to do. We can set the JS library after loading to
This is a creation in
Article, where the information may have evolved or changed.
Google recently unveiled a plan to implement go 1.5 bootstrap (Bootstrap). The author of the relevant documentation is Russ Cox, the Go core developer, who has been plowing the go language for nearly 6 years. According to Russ, Google has
"Bootstrap" self-adaptation to the PC, tablet, mobile phone Bootstrap grid system (click the Open link) article,Divide the entire 12 grid into 3 parts, and each 4 is just right.And each column is a panel without a panel head, inside a H3 headline. Then a paragraph text of p, and then two buttonIt is important to note that these items must be placed within a container, otherwise these three items will fill
Last written "Bootstrap" one compatible with IE8, Google and other mainstream browser audience giant screen style page (click to open the link)Some of the older generation's needs may not be satisfied with this postmodern style,It doesn't matter, we can completely change the layoutPull into the portal style,They immediately received a fart:First of all, the portal-style layout probably you need to be clear,
Use Google prettify to get code to be highlighted and good-looking.
Download Address:
http://code.google.com/p/google-code-prettify/
http://www.bootcdn.cn/prettify/
Network Introduction Address: Http://cdn.bootcss.com/prettify/r298/prettify.min.js
The effect chart is as follows
The above is a small set to introduce the bootstrap in the use of
In bootstrap, google pretloads is used to highlight code. bootstrappretloads
Use google pretloads to highlight the code.
:
Http://code.google.com/p/google-code-prettify/
Http://www.bootcdn.cn/prettify/
Network import address: // cdn.bootcss.com/prettify/r298/prettify.min.js
As follows:
The above section describes how
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.