Adding support for details and summary tag

This commit is contained in:
Showtim3 2019-10-02 00:16:00 +05:30
parent c9e5cc9ec0
commit 1088f6e2f8
27 changed files with 299 additions and 19 deletions

View file

@ -279,6 +279,17 @@
<h5>Heading 5</h5>
<h6>Heading 6</h6>
<p>The details and summary tag</p>
<details>
<summary>Click to Open...</summary>
<p>The HTML Details Element (details) creates a disclosure widget in which information is visible only when the widget is toggled into an "open" state. A summary or label can be provided using the summary element.</p>
</details>
<details open>
<summary>Click to Hide...</summary>
<p>The HTML Details Element (details) creates a disclosure widget in which information is visible only when the widget is toggled into an "open" state. A summary or label can be provided using the summary element.</p>
</details>
<script src='https://unpkg.com/favicon-mode-switcher@^1.0.0' defer></script>
<script src='script.js' defer></script>
</body>