点击切换帐号登陆
帐号密码登陆

Bootstrap栅格

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>欧阳克的网站</title>
		<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
		<style type="text/css" media="screen">
			.show{
				background-color: #ffccff;
				height: 40px;
				text-align: center;
				border: 1px solid #000;
			}
		</style>
	</head>
	<body>
		<div class="text-center">不同设备展示</div>
		<div class="container">
			<div class="row">
				<div class="col-xs-1 show">小屏幕</div>
				<div class="col-xs-1 show">小屏幕</div>
				<div class="col-xs-1 show">小屏幕</div>
				<div class="col-xs-1 show">小屏幕</div>
				<div class="col-xs-1 show">小屏幕</div>
				<div class="col-xs-1 show">小屏幕</div>
				<div class="col-xs-1 show">小屏幕</div>
				<div class="col-xs-1 show">小屏幕</div>
				<div class="col-xs-1 show">小屏幕</div>
				<div class="col-xs-1 show">小屏幕</div>
				<div class="col-xs-1 show">小屏幕</div>
				<div class="col-xs-1 show">小屏幕</div>
			</div>
			<br/>
			<div class="row">
				<div class="col-sm-1 show">中等屏幕</div>
				<div class="col-sm-1 show">中等屏幕</div>
				<div class="col-sm-1 show">中等屏幕</div>
				<div class="col-sm-1 show">中等屏幕</div>
				<div class="col-sm-1 show">中等屏幕</div>
				<div class="col-sm-1 show">中等屏幕</div>
				<div class="col-sm-1 show">中等屏幕</div>
				<div class="col-sm-1 show">中等屏幕</div>
				<div class="col-sm-1 show">中等屏幕</div>
				<div class="col-sm-1 show">中等屏幕</div>
				<div class="col-sm-1 show">中等屏幕</div>
				<div class="col-sm-1 show">中等屏幕</div>
			</div>
			<br/>
			<div class="row">
				<div class="col-md-1 show">大屏幕</div>
				<div class="col-md-1 show">大屏幕</div>
				<div class="col-md-1 show">大屏幕</div>
				<div class="col-md-1 show">大屏幕</div>
				<div class="col-md-1 show">大屏幕</div>
				<div class="col-md-1 show">大屏幕</div>
				<div class="col-md-1 show">大屏幕</div>
				<div class="col-md-1 show">大屏幕</div>
				<div class="col-md-1 show">大屏幕</div>
				<div class="col-md-1 show">大屏幕</div>
				<div class="col-md-1 show">大屏幕</div>
				<div class="col-md-1 show">大屏幕</div>
			</div>
			<br/>
			<div class="row">
				<div class="col-lg-1 show">超大屏幕</div>
				<div class="col-lg-1 show">超大屏幕</div>
				<div class="col-lg-1 show">超大屏幕</div>
				<div class="col-lg-1 show">超大屏幕</div>
				<div class="col-lg-1 show">超大屏幕</div>
				<div class="col-lg-1 show">超大屏幕</div>
				<div class="col-lg-1 show">超大屏幕</div>
				<div class="col-lg-1 show">超大屏幕</div>
				<div class="col-lg-1 show">超大屏幕</div>
				<div class="col-lg-1 show">超大屏幕</div>
				<div class="col-lg-1 show">超大屏幕</div>
				<div class="col-lg-1 show">超大屏幕</div>
			</div>
			<br/>
			<div class="text-center">不同设备组合展示</div>
			<div class="row">
				<div class="col-lg-4 col-md-6 col-sm-9 col-xs-12 show">欧阳克</div>
				<div class="col-lg-4 col-md-6 col-sm-3 col-xs-12 show">欧阳克</div>
				<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12 show">欧阳克</div>
			</div>
			<br/>
			<div class="text-center">嵌套</div>
			<div class="row">
				<div class="col-lg-6">
					<div class="col-lg-6 show">欧阳克</div>
					<div class="col-lg-6 show">欧阳克</div>
				</div>
			</div>
			<br/>
			<div class="text-center">偏移</div>
			<div class="row">
				<div class="col-lg-6 col-lg-offset-6 show">欧阳克</div>
			</div>
			<br/>
			<div class="row">
				<div class="col-lg-3 col-lg-offset-2 show">欧阳克</div>
				<div class="col-lg-3 col-lg-offset-2 show">欧阳克</div>
				<div class="col-lg-1 col-lg-offset-1 show">欧阳克</div>
			</div>
			<br/>
			<div class="text-center">排序</div>
			<div class="row">
				<div class="col-lg-7 col-lg-push-5 show">往右</div>
				<div class="col-lg-5 col-lg-pull-7 show">往左</div>
			</div>
		</div>
	</body>
</html>


任务

?不会了怎么办
无数据提示暂无评论哟...我要评论
网站导航
网站首页
学习路径
视频教程
开发软件
旗下子站
php中文网
phpstudy
技术文章
文档工具
关于我们
企业合作
人才招聘
联系我们
讲师招募
QQ交流群
QQ交流群
微信公众号
微信公众号