如何使用bootstrap 建立响应式网站
1个回答
展开全部
按照格式引入CSS和JS就可以实现响应式,不过要用bootsrap的栅格系统,需要学一下它的全局样式
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no">
<title>bootstrap form</title>
<link rel="stylesheet" href="../css/bootstrap.min.css" />
<link rel="stylesheet" href="../css/bootstrap-theme.min.css" />
<script type="text/javascript" src="../js/jquery-3.1.0.js" ></script>
<script type="text/javascript" src="../js/bootstrap.min.js" ></script>
</head>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no">
<title>bootstrap form</title>
<link rel="stylesheet" href="../css/bootstrap.min.css" />
<link rel="stylesheet" href="../css/bootstrap-theme.min.css" />
<script type="text/javascript" src="../js/jquery-3.1.0.js" ></script>
<script type="text/javascript" src="../js/bootstrap.min.js" ></script>
</head>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询