-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
78 lines (78 loc) · 1.92 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
*{
margin: 0;
padding:0;
box-sizing:border-box;
background-color: #cbf7fae3;
font-family: sans-serif;
outline: none;
}
.container{
height:100vh;
display: flex;
justify-content: center;
align-items: center;
}
.calculator{
background-color: #ecf0f3;
padding: 15px;
border-radius:30px;
box-shadow: inset 5px 5px 12px #ffffff,
5px 5px 12px rgba(0,0,0,.16);
display: grid;
grid-template-columns: repeat(4,68px);
}
input{
grid-column: span 4;
height: 70px;
width: 260px;
background-color: #ecf0f3;
box-shadow: inset -5px -5px 12px #ffffff,
inset 5px 5px 12px rgba(0,0,0,.16);
border: none;
border-radius: 30px;
color: rgb(70,70,70);
font-size: 50px;
text-align: end;
margin: auto;
margin-top:40px;
margin-bottom: 30px;
padding: 20px;
}
button{
height: 48px;
width: 48px;
background-color: #ecf0f3;
box-shadow: -5px -5px 12px #ffffff,
5px 5px 12px rgba(0,0,0,.16);
border: none;
border-radius:50%;
margin: 8px;
font-size: 16px;
}
.btn{
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
-webkit-transition-property: box-shadow, transform;
transition-property: box-shadow, transform;
}
.btn:hover, .btn:focus, .btn:active{
box-shadow: 0 0 20px rgba(0, 0, 0, 0.16);
-webkit-transform: scale(1.1);
transform: scale(1.1);
}
.equal{
width: 115px;
border-radius: 40px;
background-color: #e0e2e4;
box-shadow: -5px -5px 12px #ffffff,
5px 5px 12px rgba(0,0,0,.16);
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
-webkit-transition-property: box-shadow, transform;
transition-property: box-shadow, transform;
}
.equal:hover, .equal:focus, .equal:active{
box-shadow: 0 0 20px rgba(0, 0, 0, 0.16);
-webkit-transform: scale(1.1);
transform: scale(1.1);
}