-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
86 lines (73 loc) · 1.35 KB
/
style.css
File metadata and controls
86 lines (73 loc) · 1.35 KB
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
*{
margin:0;
padding: 0;
box-sizing: border-box;
}
body{
height: 100vh;
display: flex;
background: linear-gradient(to right,#000000, #a8a8a8);
display: flex;
justify-content: center;
align-items: center;
}
.calculator{
width: 25%;
border-radius: 10px;
overflow: hidden;
text-align: right;
box-shadow: 7px 7px 7px rgba(209, 201, 201, 0.5);
}
.display{
width: 100%;
height: 20vh;
background: black;
color: rgb(178, 43, 43);
}
.input{
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
}
button{
border:radius;
background-color: rgb(161, 179, 25);
padding:1.6rem;
font-size: 22px;
transition: all 0.3s ease-in-out;
}
button:hover{
font-weight: bold;
}
.output{
font-size: 28px;
padding: 25px;
}
.result{
font-size: 18px;
padding: 25px;
}
@keyframes big{
10%{
font-size: 20px;
}
100%{
font-size: 30px;
}
}
@keyframes small{
0%{
font-size: 28px;
}
100%{
font-size: 20px;
}
}
@media screen and (max-width:600px){
.calculator{
width: 100%;
border-radius: 10px;
overflow: hidden;
text-align: right;
box-shadow: 7px 7px 7px rgba(209, 201, 201, 0.5);
}
}