03栅格系统
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>栅格系统</title>
<link rel="stylesheet" type="text/css" href="layui-v2.6.8/layui/css/layui.css">
</head>
<body>
<div class="layui-container">
<div class="layui-row">
<div class="layui-col-md5" style="background-color: deepskyblue;">
内容5/12
</div>
<div class="layui-col-md7" style="background-color: grey;">
内容7/12
</div>
</div>
<div class="layui-row">
<div class="layui-col-md4" style="background-color: green;">
内容4/12
</div>
<div class="layui-col-md4" style="background-color: greenyellow;">
内容4/12
</div>
</div>
<div class="layui-row">
<div class="layui-col-sm4 layui-col-md7 " style="background-color: green;">
平板、桌面端
</div>
<div class="layui-col-sm4 layui-col-md5" style="background-color: greenyellow;">
平板、桌面端
</div>
</div>
</div>
<hr>
<div class="layui-row layui-col-space2">
<div class="layui-col-md6">
<div style="background-color: green;">桌面端</div>
</div>
<div class="layui-col-md6">
<div style="background-color: green;">桌面端</div>
</div>
</div>
<hr>
<div class="layui-row">
<div class="layui-col-md4">
<div style="background-color: green;">桌面端0</div>
</div>
<div class="layui-col-md4 layui-col-md-offset4">
<div style="background-color: green;">桌面端1</div>
</div>
</div>
<hr>
<div class="layui-row">
<div class="layui-col-md6">
<div class="layui-row">
<div class="layui-col-md3" style="background-color: green;">3</div>
<div class="layui-col-md4" style="background-color: blue;">4</div>
<div class="layui-col-md5" style="background-color: yellow;">5</div>
</div>
</div>
</div>
</body>
</html>