-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
78 lines (70 loc) · 1.86 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
<!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>calculator</title>
<link rel="stylesheet" href="styleca.css" />
<style>
body {
background: silver;
}
.container {
display: flex;
height: 900px;
width: 500px;
background: black;
flex-wrap: wrap;
justify-content: center;
font-size: 30px;
align-content: space-between;
margin-left: auto;
margin-right: auto;
}
.box {
width: 100px;
height: 100px;
}
.box-17 {
width: 200px;
}
.panel {
width: 500px;
height: 250px;
color: white;
padding-top: 190px;
padding-left: 80px;
}
</style>
</head>
<body>
<!--parent = flex-container -->
<div class="container">
<!-- children = flex-items -->
<div class="panel">
<!-- dummy number -->
1234567894564555569
</div>
<div class="box box-1" id="box-1">AC</div>
<div class="box box-2">+/-</div>
<div class="box box-3">%</div>
<div class="box box-4">÷</div>
<div class="box box-5">7</div>
<div class="box box-6">8</div>
<div class="box box-7">9</div>
<div class="box box-8">x</div>
<div class="box box-9">4</div>
<div class="box box-10">5</div>
<div class="box box-11">6</div>
<div class="box box-12">-</div>
<div class="box box-13">1</div>
<div class="box box-14">2</div>
<div class="box box-15">3</div>
<div class="box box-16">+</div>
<div class="box box-17">0</div>
<div class="box box-18">.</div>
<div class="box box-19">=</div>
</div>
</body>
</html>