<!DOCTYPE html>
<html>
<head>
<title>W3.CSS(w3cschool.cn)</title>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<link rel="stylesheet" href="https://7npmedia.w3cschool.cn/w3.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
</head>
<body>
<div class="w3-container">
<h2>移动优先响应</h2>
<h3>w3-half内部使用w3-half</h3>
<p class="w3-large">尝试调整窗口大小!</p>
</div>
<div class="w3-row">
<div class="w3-half w3-container w3-green">
<h2>w3-half</h2>
<div class="w3-row">
<div class="w3-half w3-container w3-red">
<h2>w3-half</h2>
<p>这是一段。</p>
</div>
<div class="w3-half w3-container w3-yellow">
<h2>w3-half</h2>
<p>这是一段。</p>
</div>
</div>
</div>
<div class="w3-half w3-container w3-blue">
<h2>w3-half</h2>
<div class="w3-row">
<div class="w3-half w3-container w3-red">
<h2>w3-half</h2>