-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcal bmi.css
More file actions
71 lines (68 loc) · 1.33 KB
/
Copy pathcal bmi.css
File metadata and controls
71 lines (68 loc) · 1.33 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
*{margin: 0; padding: 0;font-family: 'Old Standard TT', serif;}
.container{
display: grid;
justify-content: center;
align-content: center;
min-height: 100vh;
grid-template-columns: 30vw;
grid-template-rows: repeat(3,10vh) 5vh repeat(2,10vh);
grid-gap: 10px;
}
body{
background: black;
}
h1{
text-align: center;
color: white;
}
.submit-btn{
background-color: turquoise;
}
.bmi-value{
background-color: yellow;
display: grid;
grid-template-rows: 50% 50%;
}
.status{
background-color: aquamarine;
display: grid;
grid-template-rows: 50% 50%;
}
.container > div{
padding: 10px;
font-size: 20px;
font-weight: bold;
color: black;
border-radius: 10px;
}
button,input{
min-width: 100%;
min-height: 100%;
border: none;
outline: none;
font-size: 1.5vw;
border-radius: 8px;
}
input{
background: #ffdd99;
text-indent: 0.5em;
max-width:100% ;
color: black;
outline: none;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type=number] {
-moz-appearance: textfield;
}
button{
background: tomato;
cursor: pointer;
}
button:hover{
background: #c70039;
color: white;
}