:::

11. 安裝BootStrap

官方網站:http://twitter.github.io/bootstrap/index.html

中文手冊:http://kkbruce.tw/

BootStrap 是一套CSS框架,您不懂CSS也沒關係,直接根據手冊說明,套用到網站上即可。

將下載的檔案解壓縮,並將解開的css、img、js 三個資料夾複製到程式的所在位置即可。

一個有套用Bootstrap的基本頁面:

    <!DOCTYPE html>
    <html>
    <head>
    <title>標題</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <!-- Bootstrap -->
    <link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
    </head>
    <body>
    主內容
    <script src="http://code.jquery.com/jquery.js"></script>
    <script src="js/bootstrap.min.js"></script>
    </body>
    </html>

 


:::

搜尋

QR Code 區塊

https%3A%2F%2Fwww.tad0616.net%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbsn%3D19%26tbdsn%3D847

書籍目錄

展開 | 闔起

線上使用者

26人線上 (8人在瀏覽線上書籍)

會員: 0

訪客: 26

更多…