-
Notifications
You must be signed in to change notification settings - Fork 0
/
calculator.css
66 lines (60 loc) · 1.37 KB
/
calculator.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
*{
margin: 0px;
box-sizing: border-box;
font-family: sans-serif;
outline: none;
padding: 0px;
background-color: black;
}
.container {
display: flex;
height: 100vh;
align-items: center;
justify-content: center;
}
.calculator{
padding: 16px;
border-radius: 30px;
background-color: black;
display: grid;
grid-template-columns: repeat(4, 68px);
box-shadow: inset 5px 5px 12px #fff, 5px 5px 12px rgba(0, 0, 0, 0.016);
}
input{
height: 70px;
width: 270px;
grid-column: span 4;
background-color: white;
box-shadow: inset 5px 5px 12px #fff, -5px -5px 12px rgba(0, 0, 0, 0.016);
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{
background-color: white;
height: 50px;
width: 50px;
border: none;
border-radius: 50%;
box-shadow: -5px -5px 12px #fff, 5px 5px 12px rgba(0, 0, 0, 0.016);
margin: 10px;
font-size: 16px;
font-weight: bold;
color: red;
}
button:hover{
background: red;
color: white;
}
.hasil{
width: 115px;
border-radius: 45px;
box-shadow: inset -5px -5px 12px #fff, 5px 5px 12px rgba(0, 0, 0, 0.016);
background-color: white;
}