1. 栗子之导航条(navbar)

http://www.runoob.com/try/try2.php?filename=bootstrap-using-glyphicons-navbar


<!DOCTYPE html>
<html>
<head>
<title>Bootstrap 实例</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="navbar navbar-fixed-top navbar-inverse" role="navigation">
<div class="container">
<div class="navbar-header">
<a href="#" class="navbar-brand">Project name</a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active">
<a href="#">
<span class="glyphicon glyphicon-home"></span> Home
</a>
</li>
<li >
<a href="#shop">
<span class="glyphicon glyphicon-shopping-cart"></span> Shop
</a>
</li>
<li>
<a href="#support">
<span class="glyphicon glyphicon-headphones"></span> Support
</a>
</li>
</ul>
</div>
</div>
</div>
</body>
</html>

2.模块化思想   (主要是div的使用)

    3. div 之间的嵌套    

    4. 以最小单位为对象的面向盒子对象思想 (对其设置属性:padding,margin-  border 。。。。。。)  

最新文章

  1. Android UX &amp; UI 最佳实践: 设计有效的导航
  2. MapReduce介绍
  3. [游戏学习28] MFC 时钟
  4. spring中的Log4jConfigListener作用和webapp.root的设置
  5. eclipse中安装tomcat插件
  6. aspose输出表格
  7. asp.net的CascadingDropDown取值和赋值
  8. Contest20140709 testA 树型DP
  9. 斯坦福大学IOS开发课程笔记(第七课第一部分)
  10. js中substr,substring,indexOf,lastIndexOf等的用法
  11. [刷题]Codeforces 794C - Naming Company
  12. CSS3-loading动画(五)
  13. CNCC2017中的深度学习与跨媒体智能
  14. ~psd面试 求最长回文序列 DP求解
  15. Python_生成大量随机信息
  16. 动态路由协议(RIP)
  17. 1、redis 基础
  18. HDU6280 From Tree to Graph
  19. spring的orm模块
  20. Appuim学习路-Appuim介绍

热门文章

  1. STL - stack(栈)
  2. STL常用查找算法介绍
  3. Unity Editor 编写unity插件类
  4. 访问PHP文件时出现An error occurred.
  5. 关于在vim中的查找和替换
  6. JS基础:基于原型的对象系统
  7. Python_如何去除字符串里的空格
  8. spiral matrix 螺旋矩阵
  9. Web安全学习计划
  10. 基于Django的独立运行脚本开发