-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
72 lines (64 loc) · 1.28 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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: Arial, Helvetica, sans-serif;
letter-spacing: 1px;
}
body{
min-height: 100vh;
max-height: 1000%;
display: flex;
justify-content: center;
align-items: center;
/* display: grid;
place-items: center; */
background: linear-gradient(45deg, #0a0a0a, #3a4452);
}
.calculator{
padding: 15px;
box-shadow: 0 0 15px #000;
border: 2px solid rgb(116,114,114);
border-radius: 15px;
}
.display input{
width: 360px;
border: none;
outline: none;
padding: 20px;
margin: 10px;
background: transparent;
color: #fff;
font-size: 40px;
text-align: right;
cursor: pointer;
}
input::placeholder{
color: #fff;
}
button{
width: 70px;
height: 70px;
margin: 10px;
background: transparent;
color: #fff;
font-size: 22px;
font-weight: 600;
border: 0;
box-shadow: -5px -6px 15px #000;
outline: 1px solid #313131;
outline-offset: 3px;
}
button:active{
background: #000;
transform: translate(2px, 2px);
}
.opr{
color: #fbff00;
background: #1e1919;
font-weight: 700;
}
#eqBtn{
background: orangered;
font-weight: 900;
}