-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
103 lines (88 loc) · 2.04 KB
/
style.css
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
94
95
96
97
98
99
100
101
102
103
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body{
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(45deg, #800080, #993399, #8A2BE2, #4B0082);
}
h1 {
text-align: center;
color: rgb(255, 255, 255);
opacity: 0;
animation: fadeIn 2s ease-in-out forwards;
}
@keyframes fadeIn {
0% {
opacity: 0;
transform: translateY(-20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
.calculator{
border: 1px solid #ffffff;
padding: 20px;
border-radius: 16px;
background: transparent;
box-shadow: 0px 3px 15px rgba(66, 98, 162, 0.5);
margin-top: 5px;
}
input{
width: 320px;
border: none;
padding: 24px;
margin: 10px;
background: transparent;
box-shadow: 0px 3px 15px rgbs(84, 84, 84, 0.1);
font-size: 40px;
text-align: right;
cursor: pointer;
color: #ffffff;
}
input::placeholder{
color: #ffffff;
}
button {
border: none;
width: 60px;
height: 60px;
margin: 10px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
color: #ffffff;
font-size: 20px;
cursor: pointer;
transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s, border-color 0.3s;
border: 2px solid transparent;
background-clip: padding-box;
}
button:hover {
background-color: rgba(255, 255, 255, 0.2);
transform: translateY(-2px);
box-shadow: -2px -2px 5px rgba(255, 255, 255, 0.2);
border-color: rgba(255, 255, 255, 0.3);
}
.equalBtn {
background-color: #fb7c14;
color: #fff;
box-shadow: -4px -4px 10px rgba(255, 255, 255, 0.1);
}
.equalBtn:hover {
background-color: #ff9c44;
}
.operator {
color: #6dee0a;
}
.operator:hover {
color: #6fee0a;
}