-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
50 lines (47 loc) · 1.99 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!docype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
<link href="style.css" rel="stylesheet">
<script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>
<script src="jspm_packages/system.js"></script>
<script src="jspm.browser.js"></script>
<script src="jspm.config.js"></script>
</head>
<body>
<section id="test-section1"
class="js-collapsible test-section"
data-collapsible-bps="until-small, medium-until-large, x-large">
<h3 class="js-collapsible__header">
Collapsible content
<!-- Add aria-label, aria-controls, aria-expanded with js -->
<button class="js-collapsible__toggle o-collapsible__toggle">
toggle
</button>
</h3>
<div class="js-collapsible__content o-collapsible__content"
id="collapsible__content1">
Sit repellat aspernatur voluptas cupiditate quis! Explicabo magni minima eaque eligendi ab! Ad corrupti nesciunt consectetur obcaecati magni. Dolorem repudiandae ullam vitae vel sint. Error dolorum facere ipsum laboriosam elit.
</div>
</section>
<section id="test-section2"
class="js-collapsible test-section"
data-collapsible-bps="default">
<h3 class="js-collapsible__header">
Collapsible content
<!-- Add aria-label, aria-controls, aria-expanded with js -->
<button class="js-collapsible__toggle o-collapsible__toggle">
toggle
</button>
</h3>
<div class="js-collapsible__content o-collapsible__content"
id="collapsible__content2">
Sit repellat aspernatur voluptas cupiditate quis! Explicabo magni minima eaque eligendi ab! Ad corrupti nesciunt consectetur obcaecati magni. Dolorem repudiandae ullam vitae vel sint. Error dolorum facere ipsum laboriosam elit.
</div>
</section>
<script>
SystemJS.import('test.js');
</script>
</body>
</html>