-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCalc.css
58 lines (53 loc) · 1.01 KB
/
Calc.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
* {
padding: 0;
margin: 0;
font-family: 'poppins', sans-serif;
}
body {
background-color: #4a8a7caf;
display: grid;
height: 100vh;
place-items: center;
}
.main {
width: 400px;
height: 450px;
background-color: rgba(58, 70, 46, 0.568);
position: absolute;
border: 5px solid rgb(0, 0, 0);
border-radius: 6px;
}
.main input[type='text'] {
width: 90%;
position: relative;
height: 50px;
top: 10px;
text-align: right;
padding: 3px 6px;
outline: none;
font-size: 40px;
border: 5px solid black;
display: flex;
margin: auto;
border-radius: 6px;
color: black;
}
.btn input[type='button'] {
width: 90px;
padding: 2px;
margin: 7px 0px;
position: relative;
left: 13px;
top: 20px;
height: 50px;
cursor: pointer;
font-size: 16px;
transition: 0.5s;
background-color: #495250;
border-radius: 6px;
color: white;
}
.btn input[type='button']:hover {
background-color: black;
color: white;
}