Skip to content

Commit 488cef3

Browse files
committed
Stopwatch Fix
1 parent d6a62ad commit 488cef3

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

18 - Stopwatch/style.css

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
*{
22
padding: 0;
33
margin: 0;
4+
box-sizing: border-box;
45
}
56

67
@font-face {
@@ -20,9 +21,9 @@ body{
2021
}
2122

2223
h1{
23-
position: relative;
24+
position: absolute;
2425
top: 0;
25-
padding-top: 140px;
26+
padding-top: 120px;
2627
margin-bottom: 100px;
2728
font-size:3rem;
2829
}
@@ -40,7 +41,7 @@ h1{
4041
}
4142
#lapBox{
4243
width: 100%;
43-
height: 100%;
44+
height: 100px;
4445
display: flex;
4546
box-sizing: content-box;
4647
flex-wrap: wrap;
@@ -50,7 +51,6 @@ h1{
5051
align-items: center;
5152
justify-content: center;
5253
overflow: auto;
53-
height: 121px;
5454

5555
}
5656
#lapBox h1{
@@ -75,7 +75,7 @@ button:active{
7575
}
7676

7777
footer {
78-
position: relative;
78+
position: absolute;
7979
text-align: center;
8080
font-size: 1rem;
8181
bottom: 0;
@@ -98,6 +98,4 @@ footer a:visited {
9898
@media screen and (max-width: 768px) {
9999
#primary { width:100%; }
100100
#secondary { width:100%; margin:0; border:none; }
101-
}
102-
.lapBox { -ms-overflow-style: none; }
103-
101+
}

0 commit comments

Comments
 (0)