mirror of
https://github.com/kognise/water.css.git
synced 2025-08-30 08:20:39 +02:00
feat: Add <dialog> support
This commit is contained in:
@@ -278,6 +278,21 @@
|
||||
<p>Lorem ipsum dolor sit blah blah.</p>
|
||||
</details>
|
||||
|
||||
<p>The dialog (form, and menu) tag</p>
|
||||
<button type='button' id='dialog-trigger'>Show me the dialog!</button>
|
||||
<span id='dialog-result'></span>
|
||||
<dialog id='dialog'>
|
||||
<header>This is a sample dialog</header>
|
||||
<form method="dialog">
|
||||
<p>What is your favorite pet animal?</p>
|
||||
<menu>
|
||||
<button value="feline">Cats</button>
|
||||
<button value="canine">Dogs</button>
|
||||
<button value="other">Others</button>
|
||||
</menu>
|
||||
</form>
|
||||
</dialog>
|
||||
|
||||
<h3 id="typography">Typography</h3>
|
||||
<p>
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque dictum hendrerit velit, quis
|
||||
|
Reference in New Issue
Block a user