Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
AJYaBoi authored Aug 5, 2024
1 parent 64fa96e commit d9c39b7
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions VideoPlayer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,19 @@
overflow: hidden;
background-color: #000;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
width: 100vw;
color: white;
font-family: Arial, sans-serif;
position: relative; /* Allow absolute positioning within */
}
.dvd {
.dvd-container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 300px; /* Size set to 300px x 100px */
height: 100px; /* Size set to 300px x 100px */
background-size: contain;
Expand All @@ -33,18 +36,6 @@
border: 2px solid #fff;
background-color: #000;
}
.dvd-container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 300px; /* Size set to 300px x 100px */
height: 100px; /* Size set to 300px x 100px */
background-size: contain;
background-repeat: no-repeat;
background-position: center;
z-index: 10;
}
.dropzone {
width: 100%;
height: 100%;
Expand All @@ -55,6 +46,7 @@
background-color: #000;
color: #fff;
text-align: center;
position: relative; /* Allow positioning of DVD logo inside */
}
.hidden {
display: none;
Expand Down Expand Up @@ -114,4 +106,3 @@
</script>
</body>
</html>

0 comments on commit d9c39b7

Please sign in to comment.