mirror of
https://github.com/picocss/pico.git
synced 2025-04-22 09:26:14 -04:00
Docs: Add modal page
This commit is contained in:
parent
10301430ab
commit
f85faceb65
9 changed files with 229 additions and 12 deletions
|
@ -26,7 +26,7 @@
|
|||
</article>
|
||||
<p>Themes can be forced on document level <code><<b>html</b> <i>data-theme</i>=<u>"light"</u>></code> or on any HTML element <code><<b>article</b> <i>data-theme</i>=<u>"dark"</u>></code></p>
|
||||
<article data-theme="light" aria-label="Forced light theme example">
|
||||
<h4>Light theme</h4>
|
||||
<h3>Light theme</h3>
|
||||
<form class="grid">
|
||||
<input type="text" name="login" placeholder="Login" aria-label="Login" autocomplete="nickname" required>
|
||||
<input type="password" name="password" placeholder="Password" aria-label="Password" autocomplete="current-password" required>
|
||||
|
@ -41,7 +41,7 @@
|
|||
</footer>
|
||||
</article>
|
||||
<article data-theme="dark" aria-label="Forced dark theme example">
|
||||
<h4>Dark theme</h4>
|
||||
<h3>Dark theme</h3>
|
||||
<form class="grid">
|
||||
<input type="text" name="login" placeholder="Login" aria-label="Login" autocomplete="nickname" required>
|
||||
<input type="password" name="password" placeholder="Password" aria-label="Password" autocomplete="current-password" required>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue