Skip to content

Commit

Permalink
changed
Browse files Browse the repository at this point in the history
  • Loading branch information
pato7y committed Mar 16, 2024
1 parent eebf38f commit 31cccc3
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Piano</title>
<link rel="stylesheet" href="../cssfiles/style.css">
<link rel="stylesheet" href="cssfiles/style.css">

</head>
<body>
<div class="piano">
Expand All @@ -19,5 +21,7 @@
<div class="key" data-note="493.88"><kbd>J</kbd></div>
</div>
<script src="../javascriptfiles/script.js"></script>
<script src="javascriptfiles/script.js"></script>

</body>
</html>
37 changes: 37 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

body {
/* font-family: Arial, sans-serif; */
font-family: "Sofia", sans-serif;
background: url('https://source.unsplash.com/1920x1080/?piano,art,music') center/cover fixed no-repeat;
color: #333;
margin: 1;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}

.piano {
display: flex;

}


.key {
width: 75px;
height: 220px;
background: white;
border:5px solid black;
cursor: pointer;
display: flex;
align-items: flex-end;
justify-content: center;
position: relative;
}
.key:hover{
display: ruby-base;
background-color: aquamarine;

}

0 comments on commit 31cccc3

Please sign in to comment.