-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (48 loc) · 2.22 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
<!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>Calculator</title>
<link rel="stylesheet" href="styles/style.css">
<link rel="stylesheet" href="styles/reset.css">
<link rel="stylesheet" href="styles/bg_animation.css">
</head>
<body>
<div id="calculator">
<div data-secondary-display class="display" id="secondary-display"></div>
<div data-main-display class="display" id="main-display"></div>
<button data-allclear class="span-1">AC</button>
<button data-delete id="delete" class="span-2">DEL</button>
<button data-operation id="add">+</button>
<button data-number>1</button>
<button data-number>2</button>
<button data-number>3</button>
<button data-operation id="subtract">-</button>
<button data-number>4</button>
<button data-number>5</button>
<button data-number>6</button>
<button data-operation id="multiply">*</button>
<button data-number>7</button>
<button data-number>8</button>
<button data-number>9</button>
<button data-operation id="divide">/</button>
<button data-number id="decimal">.</button>
<button data-number>0</button>
<button data-number>00</button>
<button data-equals id="equals">=</button>
</div>
<svg class="background--custom" id="demo" viewBox="0 0 100 100" preserveAspectRatio="none">
<path fill="#FFFF00" fill-opacity="0.7" d="M-100 -100L200 -100L200 50L-100 50Z"
style="animation: path0 5s linear infinite alternate;" />
<path fill="#0b7272" fill-opacity="0.7" d="M-100 -100L200 -100L200 50L-100 50Z"
style="animation: path1 12.5s linear infinite alternate;" />
<path fill="#FF00FF" fill-opacity="0.2" d="M-100 -100L200 -100L200 20L-100 20Z"
style="animation: path2 30s linear infinite alternate;" />
<path fill="#FF00FF" fill-opacity="0.2" d="M-100 -100L200 -100L200 20L-100 20Z"
style="animation: path3 25s linear infinite alternate;" />
</svg>
<script src="script.js"></script>
</body>
</html>