-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.html
58 lines (49 loc) · 1000 Bytes
/
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>React combo select</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="style.css">
<style>
body {
display: flex;
background: #40b4e5;
width: 100%;
height: 100%;
}
#react {
/* width: 400px; */
display: flex;
width: 100%;
height: 100%;
flex: 1;
justify-content: center;
align-items: center;
padding: 2rem;
}
#react form {
width: 450px;
padding: 1rem;
display: flex;
flex-direction: column;
align-items: stretch;
justify-content: center;
}
#react form>* {
margin-bottom: 1rem;
}
#react form>input[type="text"],
#react form>input[type="submit"] {
text-align: center;
height: 20px;
width: 50%;
margin: 1rem auto;
}
</style>
</head>
<body>
<section id="react"></section>
<script src="bundle.js"></script>
</body>
</html>