Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6eec6ee

Browse files
Merge pull request #1778 from bhumii-ka/master
Fixes
2 parents 89a62ba + df0d01a commit 6eec6ee

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

‎01 - Drum Kit/index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@
33

44
<head>
55
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
67
<title>Drum Kit</title>
78
<link rel="stylesheet" href="style.css">
89
<link rel="icon" href="assets/drum.png">
910
<link rel="icon" href="assets/favicon.png">
1011
</head>
1112

1213
<body>
14+
<div id="container">
1315
<h1 id="title">Drum Kit</h1>
1416
<div class="keys">
1517
<div data-key="65" class="A key">
@@ -69,6 +71,7 @@ <h1 id="title">Drum Kit</h1>
6971
</p>
7072
</footer>
7173

74+
</div>
7275
<script src="main.js"></script>
7376

7477
</body>

‎01 - Drum Kit/style.css

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ h1 {
1818
color: #FEFFE2;
1919
font-family: "Arvo", cursive;
2020
text-align: center;
21+
margin-bottom: 0;
2122
}
2223

2324
span {
@@ -26,8 +27,9 @@ span {
2627

2728
.keys {
2829
display: flex;
30+
flex-wrap: wrap;
2931
flex: 1;
30-
min-height:40vh;
32+
align-content: center;
3133
align-items: center;
3234
justify-content: center;
3335
}
@@ -39,7 +41,7 @@ span {
3941
font-size: 1.5rem;
4042
padding: 1rem .5rem;
4143
transition: all .07s ease;
42-
width: 10rem;
44+
width: 78pt;
4345
text-align: center;
4446
color: white;
4547
background-color: #212121;
@@ -72,14 +74,17 @@ footer {
7274
text-align: center;
7375
color: white;
7476
font-size: 1.5rem;
75-
position: absolute;
76-
left: 0;
77-
right: 0;
78-
bottom: 0;
7977
margin-bottom: 0;
8078
padding: 5px;
8179
}
8280

8381
footer a:visited {
8482
color: inherit;
83+
}
84+
85+
#container{
86+
height: 100vh;
87+
display: flex;
88+
flex-direction: column;
89+
justify-content: space-between;
8590
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /