forked from carolstran/seeing-sprouts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.html
102 lines (92 loc) · 2.31 KB
/
options.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Seeing Sprouts Options</title>
<style>
html,
body {
font-size: 16px;
margin: 0;
}
body {
padding: 1.5rem;
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: flex;
-webkit-flex-direction: column;
-moz-flex-direction: column;
-ms-flex-direction: column;
-o-flex-direction: column;
flex-direction: column;
-ms-align-items: center;
align-items: center;
}
.question {
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: flex;
-ms-align-items: center;
align-items: center;
font-size: 1rem;
-webkit-flex-direction: column;
-moz-flex-direction: column;
-ms-flex-direction: column;
-o-flex-direction: column;
flex-direction: column;
}
#veggie {
margin-top: .75rem;
}
#save {
box-shadow: none;
border-radius: 30px;
background-color: #12ad2e;
color: white;
font-size: 1rem;
border: 0;
padding: .75rem 3rem;
cursor: pointer;
margin-top: 1rem;
}
.select {
width: 150px;
padding: 5px 35px 5px 5px;
font-size: 16px;
border: 1px solid #ccc;
height: 34px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-image: url('./images/icons/angle-down.svg');
background-size: 16px;
background-position: center right 10px;
background-repeat: no-repeat;
line-height: 22px;
}
.option {
padding: 1rem;
}
#status {
font-size: 14px;
margin-top: .5rem;
}
</style>
</head>
<body>
<div class="question">
Which veggie do you like most?
<select id="veggie" class="select">
<option value="sprouts" class="option">🥬 sprouts</option>
<option value="potatoes" class="option">🥔 potatoes</option>
</select>
</div>
<button id="save" type="button">Save</button>
<div id="status"></div>
<script src="options.js"></script>
</body>
</html>