-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
93 lines (73 loc) · 6.02 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tailwind Calculator UI</title>
<!-- Tailwind CDN -->
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
<div class="container mx-auto my-3 sm:my-12 p-4 sm:p-0 md:w-2/3 lg:w-2/5">
<div class="grid grid-cols-4 gap-4 sm:gap-6 md:gap-8">
<input id="" class="screen text-3xl sm:text-4xl font-bold text-slate-700 p-5 md:p-8 bg-white rounded-xl focus:outline-none col-span-4 leading-none sm:leading-none drop-shadow-md border border-gray-50 placeholder:text-slate-600 placeholder:font-semibold" value="" type="text" readonly>
<button type="button" class="btn bg-white h-16 sm:h-20 flex items-center justify-center text-3xl sm:text-4xl font-bold text-slate-700 rounded-xl drop-shadow-lg border border-gray-50 active:filter-none active:translate-y-0.5" data-num="7">
7
</button>
<button type="button" class="btn bg-white h-16 sm:h-20 flex items-center justify-center text-3xl sm:text-4xl font-bold text-slate-700 rounded-xl drop-shadow-lg border border-gray-50 active:filter-none active:translate-y-0.5" data-num="8">
8
</button>
<button type="button" class="btn bg-white h-16 sm:h-20 flex items-center justify-center text-3xl sm:text-4xl font-bold text-slate-700 rounded-xl drop-shadow-lg border border-gray-50 active:filter-none active:translate-y-0.5" data-num="9">
9
</button>
<button type="button" class="btn-special bg-white h-16 sm:h-20 flex items-center justify-center text-3xl sm:text-4xl font-bold text-slate-700 rounded-xl drop-shadow-lg border border-gray-50 active:filter-none active:translate-y-0.5" data-num="/">
÷
</button>
<button type="button" class="btn bg-white h-16 sm:h-20 flex items-center justify-center text-3xl sm:text-4xl font-bold text-slate-700 rounded-xl drop-shadow-lg border border-gray-50 active:filter-none active:translate-y-0.5" data-num="4">
4
</button>
<button type="button" class="btn bg-white h-16 sm:h-20 flex items-center justify-center text-3xl sm:text-4xl font-bold text-slate-700 rounded-xl drop-shadow-lg border border-gray-50 active:filter-none active:translate-y-0.5" data-num="5">
5
</button>
<button type="button" class="btn bg-white h-16 sm:h-20 flex items-center justify-center text-3xl sm:text-4xl font-bold text-slate-700 rounded-xl drop-shadow-lg border border-gray-50 active:filter-none active:translate-y-0.5" data-num="6">
6
</button>
<button type="button" class="btn-special bg-white h-16 sm:h-20 flex items-center justify-center text-3xl sm:text-4xl font-semibold text-slate-700 rounded-xl drop-shadow-lg border border-gray-50 active:filter-none active:translate-y-0.5" data-num="*">
x
</button>
<button type="button" class="btn bg-white h-16 sm:h-20 flex items-center justify-center text-3xl sm:text-4xl font-bold text-slate-700 rounded-xl drop-shadow-lg border border-gray-50 active:filter-none active:translate-y-0.5" data-num="1">
1
</button>
<button type="button" class="btn bg-white h-16 sm:h-20 flex items-center justify-center text-3xl sm:text-4xl font-bold text-slate-700 rounded-xl drop-shadow-lg border border-gray-50 active:filter-none active:translate-y-0.5" data-num="2">
2
</button>
<button type="button" class="btn bg-white h-16 sm:h-20 flex items-center justify-center text-3xl sm:text-4xl font-bold text-slate-700 rounded-xl drop-shadow-lg border border-gray-50 active:filter-none active:translate-y-0.5" data-num="3">
3
</button>
<button type="button" class="btn bg-white h-16 sm:h-20 flex items-center justify-center text-3xl sm:text-4xl font-bold text-slate-700 rounded-xl drop-shadow-lg border border-gray-50 active:filter-none active:translate-y-0.5" data-num="-">
-
</button>
<button type="button" class="btn bg-white h-16 sm:h-20 flex items-center justify-center text-3xl sm:text-4xl font-bold text-slate-700 rounded-xl drop-shadow-lg border border-gray-50 active:filter-none active:translate-y-0.5" data-num="00">
00
</button>
<button type="button" class="btn bg-white h-16 sm:h-20 flex items-center justify-center text-3xl sm:text-4xl font-bold text-slate-700 rounded-xl drop-shadow-lg border border-gray-50 active:filter-none active:translate-y-0.5" data-num="0">
0
</button>
<button type="button" class="btn bg-white h-16 sm:h-20 flex items-center justify-center text-3xl sm:text-4xl font-bold text-slate-700 rounded-xl drop-shadow-lg border border-gray-50 active:filter-none active:translate-y-0.5" data-num=".">
.
</button>
<button type="button" class="btn bg-white h-16 sm:h-20 flex items-center justify-center text-3xl sm:text-4xl font-bold text-slate-700 rounded-xl drop-shadow-lg border border-gray-50 active:filter-none active:translate-y-0.5" data-num="+">
+
</button>
<button type="button" class="btn-clear bg-white h-16 sm:h-20 flex items-center justify-center text-3xl sm:text-4xl font-semibold text-slate-700 rounded-xl drop-shadow-lg border border-gray-50 col-span-2 active:filter-none active:translate-y-0.5">
C
</button>
<button type="button" class="btn-equal bg-white h-16 sm:h-20 flex items-center justify-center text-3xl sm:text-4xl font-bold text-slate-700 rounded-xl drop-shadow-lg border border-gray-50 col-span-2 active:filter-none active:translate-y-0.5">
=
</button>
</div>
</div>
<script src="main.js"></script>
</body>
</html>