Incorrect variable for the grid columns setting.

master
Zed A. Shaw 2 years ago
parent bee2bcb338
commit 7c7737c3cb
  1. 2
      public/index.html

@ -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>&lt;grid style="--rows: auto; --cols: 1fr 1fr 1fr; --gap: 1rem;"&gt;</code></pre> <pre class="pad"><code>&lt;grid style="--rows: auto; --cols: 1fr 1fr 1fr; --gap: 1rem;"&gt;</code></pre>

Loading…
Cancel
Save