forked from ghostmkg/web-development
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBMI.css
87 lines (76 loc) · 1.31 KB
/
BMI.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
79
80
81
82
83
84
85
86
87
.container {
width: 575px;
height: 825px;
background-color: #797978;
padding-left: 30px;
}
#height,
#weight {
width: 150px;
height: 25px;
margin-top: 30px;
}
#weight-guide {
margin-left: 75px;
margin-top: 25px;
}
#results {
font-size: 35px;
margin-left: 90px;
margin-top: 20px;
color: rgb(241, 241, 241);
}
button {
width: 150px;
height: 35px;
margin-left: 90px;
margin-top: 25px;
background-color: #fff;
padding: 1px 30px;
border-radius: 8px;
color: #212121;
text-decoration: none;
border: 2px solid #212121;
font-size: 25px;
}
h1 {
padding-left: 15px;
padding-top: 25px;
}
/* Responsive design */
/* Tablet and larger screens */
@media only screen and (min-width: 768px) {
.container {
max-width: 80%;
margin: 40px auto;
}
#height, #weight {
width: 200px;
}
button {
width: 200px;
}
}
/* Mobile screens */
@media only screen and (max-width: 767px) {
.container {
width: 90%;
margin: 20px auto;
height: auto;
}
#height, #weight {
width: 100%;
margin-top: 15px;
}
button {
width: 100%;
margin-top: 15px;
}
#results {
font-size: 25px;
margin-left: 20px;
}
#weight-guide {
margin-left: 20px;
}
}