|
|
@ -251,7 +251,7 @@ |
|
|
|
solid backgrounds or dots, stripes, and lines. |
|
|
|
solid backgrounds or dots, stripes, and lines. |
|
|
|
</p> |
|
|
|
</p> |
|
|
|
|
|
|
|
|
|
|
|
<p>You set the rows, columns, and gap with style variables <code>--rows</code>, <code>--columns</code>, and <code>--gap</code> like so: |
|
|
|
<p>You set the rows, columns, and gap with style variables <code>--rows</code>, <code>--cols</code>, and <code>--gap</code> like so: |
|
|
|
|
|
|
|
|
|
|
|
<pre class="pad"><code><grid style="--rows: auto; --cols: 1fr 1fr 1fr; --gap: 1rem;"></code></pre> |
|
|
|
<pre class="pad"><code><grid style="--rows: auto; --cols: 1fr 1fr 1fr; --gap: 1rem;"></code></pre> |
|
|
|
|
|
|
|
|
|
|
|