HTML 5 Front-End Framework Bootstrap tutorial

Source: Internet
Author: User

1. Introduction

Bootstrap is an open source front-end framework launched by Twitter.

Bootstrap was developed by Twitter's designer Mark Otto and Jacob Thornton, written by the dynamic language less. It is a "easy-to-use, elegant, flexible, scalable" Front-End toolset that provides elegant HTML/CSS specifications.

Bootstrap, which was popular after its launch, has been a popular Open-source project on GitHub, and breaking news, including MSNBC (Microsoft NBC), has been using the project.

Bootstrap is compatible with all major browsers, including all kinds of mobile devices.

2. Download and use

Bootstrap has built a responsive 12 grid layout system, which introduces fixed and fluid-with two layouts to quickly build Web applications. Bootstrap is currently the latest version of 3.0.0, you can download the source code on Bootstrap's official website http://twitter.github.com/bootstrap/.

Bootstrap is easy to use, open any text editor, create a new file and name it: test.html, add the bootstrap frame code at the beginning of the file:

<! DOCTYPE html>
    

As you can see from the above code: Bootstrap is built on jquery, so you need to introduce jquery first. The bootstrap framework code includes the Bootstrap.js and bootstrap.css two files.

We can then replace the contents of the BODY element with the following code:

<body> <center class= "Container-fluid" > <center class= "Row-fluid" >
    
                       <center class= "Span3" > <center class= "OK Sidebar-nav" >
    
                            <ul> <li><a href= "#" >link</a></li> <li><a href= "#" >link</a></li> <li><a href
    
                            = "#" >link</a></li> <li><a href= "#" >link</a></li> <li><a href= "#" >link</a></li> Li><a href= "#" >link</a></li> <li><a href= "#" >link</a ></li> </ul> </center> </ce
    
          Nter>    <center class= "Span9" > <center class= "Hero-unit" > < H1>hello world! 

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.