-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexampleVanilla.html
60 lines (50 loc) · 1.52 KB
/
exampleVanilla.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Example Vanilla</title>
<link rel="stylesheet" href="helios.customSelect.css">
<style>
* {
box-sizing: border-box;
}
main {
display: flex;
width: 600px;
margin: 0 auto;
flex-direction: column;
}
#mySelectVanilla {
border: 1px solid rgb(206, 206, 206);
color: rgb(255, 255, 255);
background: linear-gradient(to right, rgb(15, 12, 41), rgb(48, 43, 99), rgb(36, 36, 62));
width: 100%;
}
.select__opcoes.open {
display: block;
}
</style>
</head>
<body>
<main>
<h1>Vanilla Version (Under construction)</h1>
<div class="mySelectVanilla"></div>
<div class="mySelectVanilla2"></div>
<div class="mySelectVanilla3"></div>
</main>
</body>
<script src="helios.customSelect.vanilla.js"></script>
<script>
var select1 = new heliosCustomSelect('.mySelectVanilla', {
list: ['Cod', 'Categoria', 'Produto', 'Preço', 'Status'],
defaultOption: 'Filtrar por:'
});
var select2 = new heliosCustomSelect('.mySelectVanilla2', {
list: ['Branco', 'Azul', 'Verde'],
defaultOption: 'Selecione a cor:'
});
var ss = new heliosCustomSelect('.mySelectVanilla3');
</script>
</html>