<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Your page title</title>
<link rel="stylesheet" href="unpkg.com/purecss@1.0.1/build/pure-min.css">
<link rel="stylesheet" href="grid.css">
<link rel="stylesheet" href="unpkg.com/purecss@1.0.1/build/grids-responsive-min.css" />
</head>
<body>
<div class="pure-g">
<div class="pure-u-sm-1-1 pure-lg-1-7 ">First Unit</div>
<div class="pure-u-sm-1-1 pure-lg-1-7 ">First Unit</div>
<div class="pure-u-sm-1-1 pure-lg-1-7 ">First Unit</div>
<div class="pure-u-sm-1-1 pure-lg-1-7 ">First Unit</div>
<div class="pure-u-sm-1-1 pure-lg-1-7">First Unit</div>
<div class="pure-u-sm-1-1 pure-lg-1-7 ">First Unit</div>
<div class="pure-u-sm-1-1 pure-lg-1-7 ">First Unit</div>
</div>
</body>
</html>
我想要一个 7 列网格。我可以通过 Purecss“pure-u-1-7”实现这一点。但是当与 sm,md,lg,xl 结合使用时,它不起作用。它成为一列。我想要一个 7 列,当它在小型设备上查看时,它应该变成单列。像这样“pure-u-1-7 Pure-u-sm-1-1”