最赞回答 / Alpaca枫
要添加响应式布局/* 响应式布局 */ @media (max-width: 768px) { .carousel { height: 300px; margin-bottom: 30px; } .carousel .item { height: 300px; } .carousel img { ...
2015-10-14
<body class="text-center">
<h2>Hello World!<h2>
<button type="button" class="btn btn-primary btn-lg">我是按钮,按我一下!</button>
<script src=" ...jquery.min.js"></script>
<script src="...bootstrap.min.js"></script>
</body>
</html>
<h2>Hello World!<h2>
<button type="button" class="btn btn-primary btn-lg">我是按钮,按我一下!</button>
<script src=" ...jquery.min.js"></script>
<script src="...bootstrap.min.js"></script>
</body>
</html>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
...
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"/>
<link href="...bootstrap.min.css" rel="stylesheet">
</head>
<html lang="zh-cn">
<head>
...
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"/>
<link href="...bootstrap.min.css" rel="stylesheet">
</head>