Bootstrap framework of Learning Tutorials (ii) _JAVASCRIPT skills

Source: Internet
Author: User
Tags free cdn

Bootstrap, from Twitter, is currently the most popular front-end framework. Bootstrap is based on HTML, CSS, JAVASCRIPT, it is simple and flexible, making Web development faster.

First, download bootstrap

Bootstrap (current version v3.3.0) provides you with the following ways to get started, each for developers with different skill levels and for different usage scenarios.

Download Address: http://v3.bootcss.com/getting-started/

PS: In fact, we do not need to download bootstrap can also use it:

Bootstrap Chinese Network for Bootstrap dedicated to build their own free CDN acceleration services. Based on the domestic cloud vendors CDN service, access faster, accelerated effect more obvious, no speed and bandwidth restrictions, permanent free.

Ii. Pre-compiled version

After downloading the package, unzip it to any directory to see the following (compressed version) directory structure:

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

PS: Fonts can be added or not added

Third, an example

 

Run the screenshot as shown in the following illustration:

Iv. Example Two

Grid systems are bootstrap and have advantages. A flow-type grid system is used to divide the width into 12 halves.

<!--grid system, global CSS style-raster system--> <!--grid system in container container--> <div class= "container" style= "margin-top:60px" > <!--Add a row to occupy 12 columns, add img--> <div class= "Row" > <!--JavaScript plugin, add Carousel Carousel map--> <div " Carousel-example-generic "class=" Carousel Slide data-ride= "Carousel" > <!--indicators--> <ol class= " Carousel-indicators "> <li data-target=" #carousel-example-generic "data-slide-to=" 0 "class=" active "></ li> <li data-target= "#carousel-example-generic" data-slide-to= "1" ></li> <li data-target= "# Carousel-example-generic "data-slide-to=" 2 "></li> <li data-target=" #carousel-example-generic " Data-slide-to= "3" ></li> </ol> <!--wrapper for slides--> <div class= "Carousel-inner" ListBox > <div class= "Item Active" >  <div class= "Carousel-caption" >  

The effect is as shown in the figure

The above is a small set up to introduce the bootstrap framework of the Learning Tutorial (ii), I hope to help you, if you have any questions please give me a message, small series will promptly reply to everyone. Here also thank you very much for the cloud Habitat Community website support!

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.