-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
84 lines (73 loc) · 1.46 KB
/
style.css
File metadata and controls
84 lines (73 loc) · 1.46 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
body{
margin-bottom: 0;
padding: 0;
font-family: Arial, Helvetica, sans-serif;
text-align: center;
min-height: 100vh;
background: url(images/pixabay.jpg) no-repeat center center /cover;
user-select: none;
}
.wrapper{
width: 300px;
position: absolute;
top: 45%;
left: 50%;
transform: translate(-50%, -50%);
background-color: rgb(105,194,197);
opacity: 0.8;
border-radius: 1rem;
padding: 5px 15px;
box-shadow: 20px 50px 20px #000000;
}
h2 {
font-size: 30px;
font-weight: 600;
}
.input {
text-align: left;
margin-left: 120px;
color: #fff;
font-weight: bolder;
}
#height, #weight {
color: #222f3e;
text-align: left;
font-size: 20px;
font-weight: 200;
outline: none;
background: none;
border-bottom: 1px solid #d1d6d8;
border-right: 1px solid #d1d6d8;
width: 200px;
}
#height:focus, #weight:focus {
border-bottom: 2px solid #d1d6d8;
width: 300px;
transition: 0.5s;
}
#output {
color: #57240c;
font-weight: bolder;
font-size: 19px;
}
#btn {
margin-top: 10px;
border: none;
outline: none;
cursor: pointer;
color: #fff;
background-color: rgb(49, 92,93);
width: 150px;
padding: 10px;
border-radius: 10px;
box-shadow: 2px 5px 2px black ;
}
#btn:active {
background: rgb(226, 238, 238);
color: #111;
box-shadow:0 5px black;
transform: translateX(10px);
}
.loader {
display: none;
}