大家请教个问题,就是缩小的时候Toggle点击没用
大家请教个问题,就是缩小的时候Toggle点击没用,是哪里写错了吗
大家请教个问题,就是缩小的时候Toggle点击没用,是哪里写错了吗
2016-05-04
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</form> 去除
<a href="#" class="navbar-brand">Brand</a>
<div class="container"> <div class="jumbotron"> <h1>Hello, world!</h1> <p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p> </div> </div>
<div class="container"> <div class="row"> <div class="col-md-9"> <div class="jumbotron"> <h1>Hello, world!</h1> <p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p> </div> </div> <div class="col-md-3"> <ul class="list-group"> <li class="list-group-item"><a href="#">Cras justo odio</a></li> <li class="list-group-item"><a href="#">Dapibus ac facilisis in</a></li> <li class="list-group-item"><a href="#">Morbi leo risus</a></li> <li class="list-group-item"><a href="#">Porta ac consectetur ac</a></li> <li class="list-group-item"><a href="#">Vestibulum at eros</a></li> </ul> </div> </div> </div>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width-device-widht, initial-scale=1.0">
<link rel="stylesheet" href="//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="icon" href="../../favicon.ico">
<script src="js/jquery.min.js"></script>
<script src="offcanvas.js"></script>
<link href="offcanvas.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/respond.js/a.3.0/respond.min.js"></script>
<![endif]-->
<title></title>
</head>
<body>
<nav class="navbar navbar-inverse">
<div>
<!-- Brand and toggle get grouped for better mobile display -->
<div>
<div>
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span>Toggle navigation</span>
<span></span>
<span></span>
<span></span>
</button>
<a href="#">Brand</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a href="#">Link <span>(current)</span></a></li>
<li><a href="#">Link</a></li>
<li><a href="#">Link1</a></li>
</ul>
</form>
</div>
</div><!-- /.navbar-collapse -->
</div>
<!-- /.container-fluid -->
</nav>
<div>
<div>
<div>
<p class="pull-right visible-xs">
<button class="btn-xs btn btn-primary">Toggle</button>
</p>
<div>
<h1>Hello, world!</h1>
<p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
</div>
<div>
<div class="col-6 col-sm-6 col-lg-4">
<h2>headline</h2>
<p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
<a class="btn btn-default">View detail</a>
</div>
<div class="col-6 col-sm-6 col-lg-4">
<h2>headline</h2>
<p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
<a class="btn btn-default">View detail</a>
</div>
<div class="col-6 col-sm-6 col-lg-4">
<h2>headline</h2>
<p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
<a class="btn btn-default">View detail</a>
</div>
<div class="col-6 col-sm-6 col-lg-4">
<h2>headline</h2>
<p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
<a class="btn btn-default">View detail</a>
</div>
<div class="col-6 col-sm-6 col-lg-4">
<h2>headline</h2>
<p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
<a class="btn btn-default">View detail</a>
</div>
<div class="col-6 col-sm-6 col-lg-4">
<h2>headline</h2>
<p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
<a class="btn btn-default">View detail</a>
</div>
</div>
</div>
<div>
<ul>
<li>Cras justo odio</li>
<li>Dapibus ac facilisis in</li>
<li>Morbi leo risus</li>
<li>Porta ac consectetur ac</li>
<li>Vestibulum at eros</li>
</ul>
</div>
</div>
</div>
</body>
</html>
举报