Bootstrap分页-SM类
使用pagination-lgBootstrap类设置用于分页的小尺寸项目。您可以尝试运行以下代码以在Bootstrap中实现pagination-sm类:
示例
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Example</title>
<link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
<script src = "/scripts/jquery.min.js"></script>
<script src = "/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
<h2>Coding Examples</h2>
The following are the examples:
<ul class = "pagination pagination-sm">
<li><a href = "#">&laquo;</a></li>
<li><a href = "#">Code1</a></li>
<li><a href = "#">Code2</a></li>
<li><a href = "#">Code3</a></li>
<li><a href = "#">Code4</a></li>
<li><a href = "#">Code5</a></li>
<li><a href = "#">&raquo;</a></li>
</ul>
</body>
</html>