<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<link href="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/css/bootstrap.css" rel="stylesheet">
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.js"></script>
<script src="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/js/bootstrap.js"></script>
</head>
<style>
</style>
<body>
<ul class="nav nav-tabs">
<li class="active">
<a href="#home" data-toggle="tab">home</a>
</li>
<li>
<a href="#test" data-toggle="tab">test</a>
</li>
<li>
<a href="#demo" data-toggle="tab">demo</a>
</li>
</ul>
<div class="tab-content">
<div id="home" class="tab-pane fade in active">
aaaaaaaa
</div>
<div id="test" class="tab-pane fade">
bbbbbbbb
</div>
<div id="demo" class="tab-pane fade">
cccccccc
</div>
</div>
</body>
</html>
bootstrap选项卡
最新推荐文章于 2023-12-10 17:59:11 发布