首页 > 代码库 > bootstrap配置

bootstrap配置

js和css文件引用:

<span style="font-size:14px;"><link href=http://www.mamicode.com/"css/bootstrap-responsive.css" rel="stylesheet"/>>
导航条实例:

<span style="font-size:14px;"><nav class="navbar navbar-default navbar-fixed-top" role="navigation">
  <div class="container">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#example-navbar-collapse">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
        <a class="navbar-brand" href=http://www.mamicode.com/"#" name="top" style="font-size: 26px;">aa>

bootstrap配置