Add disclaimer about modal utility classes on class-less version

This commit is contained in:
Sergi Pons Freixes 2022-03-07 21:06:15 -08:00
parent a018211b14
commit e8d7f518ce
2 changed files with 2 additions and 2 deletions

View file

@ -75,7 +75,7 @@
<em></em> <em></em>
&lt;/<b>article</b>&gt; &lt;/<b>article</b>&gt;
&lt;/<b>dialog</b>&gt; &lt;/<b>dialog</b>&gt;
</code></pre><h2>Utilities</h2><p>Modals come with 3 utility classes.</p><p><code>.modal-is-open</code> prevents any scrolling and interactions below the modal.</p><pre><code><em>&lt;!doctype html&gt;</em> </code></pre><h2>Utilities</h2><p>Modals come with 3 utility classes. These classes are not available on the <a href="https://picocss.com/docs/classless.html">class-less version</a>.</p><p><code>.modal-is-open</code> prevents any scrolling and interactions below the modal.</p><pre><code><em>&lt;!doctype html&gt;</em>
&lt;<b>html</b> <i>class</i>=<u>"modal-is-open"</u>&gt; &lt;<b>html</b> <i>class</i>=<u>"modal-is-open"</u>&gt;
<em></em> <em></em>
&lt;/<b>html</b>&gt;</code></pre><p><code>.modal-is-opening</code> brings an opening animation.</p><pre><code><em>&lt;!doctype html&gt;</em> &lt;/<b>html</b>&gt;</code></pre><p><code>.modal-is-opening</code> brings an opening animation.</p><pre><code><em>&lt;!doctype html&gt;</em>

View file

@ -161,7 +161,7 @@
<h2>Utilities</h2> <h2>Utilities</h2>
<p>Modals come with 3 utility classes.</p> <p>Modals come with 3 utility classes. These classes are not available on the <a href="https://picocss.com/docs/classless.html">class-less version</a>.</p>
<p><code>.modal-is-open</code> prevents any scrolling and interactions below the modal.</p> <p><code>.modal-is-open</code> prevents any scrolling and interactions below the modal.</p>