您当前的位置: 首页 > 学无止境 > 网站建设 网站首页网站建设
bootstrap学习笔记-bootstrap介绍与安装
发布时间:2018-05-19 12:15:47编辑:雪饮阅读()
bootstrap的安装
下载并解压bootstrap-3.3.4-dist.zip后将压缩包内的3个文件夹css、fonts、js文件夹放在你项目根目录。
然后新建一个html文件将bootstrap的核心css文件bootstrap.min.css、和核心js文件bootstrap.min.js引入(核心js文件需要jquery的支持)
如:
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="css/bootstrap.min.css">
<script src="js/jquery1.11.2.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<title>Document</title>
</head>
<body>
<!--bootstrap的css提供了一些美化过的元素样式,可以直接调用-->
<button class="btn">普通按钮样式</button>
<button class="btn-info">信息按钮样式</button>
</body>
</html>
关键字词:bootstrap,安装
相关文章
- swoole学习笔记-swoole安装
- rpm安装的php如何安装为rpm安装的mysql安装扩展-php一
- centos7.3安装php5.4.45的oci8(oracle_11G_r2)扩展
- centos7.3安装oracle_11G_r2
- centos7.3安装oracle_11G_r2(2)
- centos7.3安装oracle_11G_r2(1)
- vsphere5.5学习笔记-VUM(VMware Update Management)的安
- vsphere5.5学习笔记-esxi5-1虚拟机上安装Linux系统并
- vsphere5.5学习笔记-vCenter中创建虚拟机、安装Window
- vsphere5.5学习笔记-vcenter的安装与数据中心的建立