|
4 | 4 | <meta charset="UTF-8" /> |
5 | 5 | <title>Vanilla Panels</title> |
6 | 6 | <meta name="viewport" content="width=device-width" /> |
7 | | -<link rel="stylesheet" type="text/css" href="css/base.css" /> |
8 | | -<link rel="stylesheet" type="text/css" href="css/vanilla-panels.css" /> |
9 | | -<script src="js/vanilla-panels.js"></script> |
| 7 | +<link rel="stylesheet" type="text/css" href="css/base.css?v=0.2.0" /> |
| 8 | +<link rel="stylesheet" type="text/css" href="css/vanilla-panels.css?v=0.2.0" /> |
| 9 | +<script src="js/vanilla-panels.js?v=0.2.0"></script> |
10 | 10 | </head> |
11 | 11 | <body> |
12 | 12 | <h1>Vanilla Panels</h1> |
13 | | -<button data-panel-trigger="panel-name" type="button">Open Panel</button> |
14 | | -<div class="panel-wrapper" data-panel="panel-name" aria-hidden="true" data-panel-open="false"> |
| 13 | + |
| 14 | +<h2>Full HTML panel</h2> |
| 15 | +<button data-panel-trigger="html-panel" type="button">Open HTML Panel</button> |
| 16 | +<div class="panel-wrapper" data-panel="html-panel" aria-hidden="true" data-panel-open="false"> |
15 | 17 | <div class="panel-overlay"></div> |
16 | 18 | <div class="panel-content"> |
17 | 19 | <a class="panel-content__close" href="#"><span>Close Panel</span></a> |
18 | 20 | <div class="panel-content__inner"> |
19 | | - <h2>Panel</h2> |
20 | | - Design is a funny word. Some people think design means how it looks. But of course, if you dig deeper, it's really how it works. |
| 21 | + <h2>HTML Panel</h2> |
| 22 | + <p>Design is a funny word. Some people think design means how it looks. But of course, if you dig deeper, it's really how it works.</p> |
21 | 23 | </div> |
22 | 24 | <div class="panel-content__action"> |
23 | 25 | action |
24 | 26 | </div> |
25 | 27 | </div> |
26 | 28 | </div> |
| 29 | + |
| 30 | +<h2>Built Panel</h2> |
| 31 | +<button data-panel-trigger="built-panel" type="button">Open Built Panel</button> |
| 32 | +<div data-build-panel="built-panel"> |
| 33 | + <div class="panel-content__inner"> |
| 34 | + <h2>Built Panel</h2> |
| 35 | + <p>Design is a funny word. Some people think design means how it looks. But of course, if you dig deeper, it's really how it works.</p> |
| 36 | + </div> |
| 37 | + <div class="panel-content__action">action</div> |
| 38 | +</div> |
| 39 | + |
27 | 40 | </body> |
28 | 41 | </html> |
0 commit comments