-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (64 loc) · 1.5 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--FAV ICON-->
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<style>
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
body{
background-color: #1B2430;
color: #1363DF;
font-family: 'Roboto', sans-serif;
}
.container {
max-width: 400px;
margin: 100px auto;
text-align: center;
border: 3px solid #1363DF;
}
.input-number{
height: 30px;
margin: 20px 0;
background-color: #1363DF;
font-family: 'Roboto', sans-serif;
color: #fff;
font-size: 20px;
}
.btn {
cursor: pointer;
width: 250px;
height: 30px;
background-color: #1363DF;
color: #fff;
font-size: large;
margin: 30px 0;
transition: 1s;
}
h1 {
font-size: 2.5em;
}
.btn:hover{
transform: scale(1.1);
background-color: #df2113;
}
</style>
<title>Calculator ×</title>
</head>
<body>
<div class="container">
<h1>Simple Calculator</h1>
<form action="/" method="POST">
<input type="number" name="num1" class="input-number">
<br>
<input type="number" name="num2" class="input-number">
<br>
<button type="submit" class="btn"> × </button>
</form>
</div>
</body>
</html>