引导的常用组件和栅格式布局详解

  

引导是最受欢迎的HTML, CSS和javascript框架,用于开发响应式布的局,移动设备优先的WEB项目。

  

因为引导需要jquery的支持,所以在使用引导之前要先把jquery插件导入,并且要把bootstrap.js文件放在jquery.js之后改动方可生效。

  

引导中有许多好用的组件,只要以规定的类等命名就可以轻松使用这些插件。例如:

  

导航条:
  

        & lt;导航类=皀avbar navbar-default”比;   & lt; div类=癱ontainer-fluid”比;   & lt; !——品牌和获得更好的移动分组切换显示——比;   & lt; div类=皀avbar-header”比;   & lt;按钮类型=鞍磁ァ崩?皀avbar-toggle倒塌”data-toggle=氨览!笔菽勘?" # bs-example-navbar-collapse-1 " aria-expanded=癴alse”比;   & lt;跨类=" sr-only "祝辞切换navigation   & lt;跨类=" icon-bar "祝辞& lt;/span>   & lt;跨类=" icon-bar "祝辞& lt;/span>   & lt;跨类=" icon-bar "祝辞& lt;/span>   & lt;/button>   & lt;一个类=" navbar-brand " href=" https://www.yisu.com/zixun/" rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”祝辞Brand   & lt;/div>      & lt; !——收集导航链接、表单和其他内容的切换——比;   & lt; div类="崩溃navbar-collapse " id=癰s-example-navbar-collapse-1”比;   & lt; ul类=皀av navbar-nav”比;   & lt;李类="活跃"祝辞& lt; a href=" https://www.yisu.com/zixun/" rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”在链接& lt;跨类=皊r-only祝辞(当前)& lt;/span> & lt;/a> & lt;/li>   & lt; li> & lt; a href=" https://www.yisu.com/zixun/" rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”祝辞Link & lt;/li>   & lt;李类=跋吕北?   & lt; a href=" https://www.yisu.com/zixun/" rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”类=癲ropdown-toggle data-toggle”=跋吕苯巧?鞍磁ァ盿ria-haspopup=" true " aria-expanded=癴alse”在拉& lt;跨类=巴炎址拧弊4? lt;/span> & lt;/a>   & lt; ul类=跋吕说ァ北?   & lt; li> & lt; a href=" https://www.yisu.com/zixun/" rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”祝辞Action & lt;/li>   & lt; li> & lt; a href=" https://www.yisu.com/zixun/" rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”在另一个action & lt;/li>   & lt; li> & lt; a href=" https://www.yisu.com/zixun/" rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”在别的here & lt;/li>   & lt;李的作用=胺掷肫鳌眂lass=胺指簟弊4? lt;/li>   & lt; li> & lt; a href=" https://www.yisu.com/zixun/" rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”rel=巴獠縩ofollow”在分离link

引导的常用组件和栅格式布局详解