forked from carbon-design-system/carbon-for-ibm-dotcom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
105 lines (101 loc) · 2.84 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!--
Copyright IBM Corp. 2020
This source code is licensed under the Apache-2.0 license found in the
LICENSE file in the root directory of this source tree.
-->
<html>
<head>
<title>Carbon for IBM.com Sandbox</title>
<meta charset="UTF-8" />
<link
rel="stylesheet"
href="//unpkg.com/carbon-components@latest/css/carbon-components.min.css"
/>
<link rel="stylesheet" href="src/styles.css" />
</head>
<body>
<h1>Hello World! 👋</h1>
<div id="app">
<ul
id="my-dropdown"
data-dropdown
data-value
class="bx--dropdown"
tabindex="0"
>
<li class="bx--dropdown-text">
Dropdown label
</li>
<svg
class="bx--dropdown__arrow"
width="10"
height="5"
viewBox="0 0 10 5"
fill-rule="evenodd"
>
<path d="M10 0L5 5 0 0z"></path>
</svg>
<li>
<ul class="bx--dropdown-list">
<li data-option data-value="all" class="bx--dropdown-item">
<a
class="bx--dropdown-link"
href="javascript:void(0)"
tabindex="-1"
>Option 1</a
>
</li>
<li data-option data-value="cloudFoundry" class="bx--dropdown-item">
<a
class="bx--dropdown-link"
href="javascript:void(0)"
tabindex="-1"
>Option 2</a
>
</li>
<li data-option data-value="staging" class="bx--dropdown-item">
<a
class="bx--dropdown-link"
href="javascript:void(0)"
tabindex="-1"
>Option 3</a
>
</li>
<li data-option data-value="dea" class="bx--dropdown-item">
<a
class="bx--dropdown-link"
href="javascript:void(0)"
tabindex="-1"
>Option 4</a
>
</li>
<li data-option data-value="router" class="bx--dropdown-item">
<a
class="bx--dropdown-link"
href="javascript:void(0)"
tabindex="-1"
>Option 5</a
>
</li>
</ul>
</li>
</ul>
<button class="bx--btn bx--btn--secondary" type="button">
Secondary
<svg
class="bx--btn__icon"
width="16"
height="16"
viewBox="0 0 16 16"
fill-rule="evenodd"
>
<title>add a new connection to your instance</title>
<path
d="M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm4 9H9v3H7V9H4V7h3V4h2v3h3v2z"
></path>
</svg>
</button>
</div>
<script src="src/index.js"></script>
</body>
</html>