bootstrap框架

bootstrop基本的基礎瞭解有如上圖。。

下載源碼

從GitHub能夠直接下載到Bootstrap最新版本的LESS和JavaScript源碼。javascript

Clone or fork via GitHub

訪問咱們的Github源碼庫,你能夠克隆整個項目,或者fork整個項目到你本身的帳號。css

經過Bower工具安裝

經過Bower能夠安裝並管理Bootstrap的樣式、JavaScript文件和文檔。html

這是最基本的Bootstrap組織形式:未壓縮版的文件能夠在任意web項目中直接使用。咱們提供了壓縮(bootstrap.min.*)與未壓縮 (bootstrap.*)的CSS和JS文件。字體圖標文件來自於Glyphicons。html5

<!DOCTYPE html>
<html>
  <head>
    <title>Bootstrap 101 Template</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- Bootstrap -->
    <link rel="stylesheet" href="http://cdn.bootcss.com/twitter-bootstrap/3.0.2/css/bootstrap.min.css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.min.js"></script>
        <script src="http://cdn.bootcss.com/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    <h1>Hello, world!</h1>

    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="http://cdn.bootcss.com/jquery/1.10.2/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="http://cdn.bootcss.com/twitter-bootstrap/3.0.2/js/bootstrap.min.js"></script>
  </body>
</html>
java

以上代碼是最簡單的bootstrop的框架結構。jquery

相關文章
相關標籤/搜索