HTML
CSS
JavaScript
play_arrow
HTML
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>网格布局 - 基础网格</title>
  <link rel="stylesheet" href="../assets/mdui-v0.4.3/css/mdui.min.css"/>
</head>
<body>

<div class="mdui-container">
  <div class="mdui-row">
    <div class="mdui-col-xs-3">.mdui-col-xs-3</div>
  </div>
  <div class="mdui-row">
    <div class="mdui-col-xs-6">.mdui-col-xs-6</div>
  </div>
  <div class="mdui-row">
    <div class="mdui-col-xs-9">.mdui-col-xs-9</div>
  </div>
  <div class="mdui-row">
    <div class="mdui-col-xs-12">.mdui-col-xs-12</div>
  </div>
</div>

<script src="../assets/mdui-v0.4.3/js/mdui.min.js"></script>
</body>
</html>
CSS
.mdui-row > [class*="mdui-col-"] {
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #E8EAF6;
  border: 1px solid #C5CAE9;
  margin-bottom: 8px;
}
JavaScript