Skip to content

Commit

Permalink
made webcam responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
SlinkyCollins committed Dec 18, 2023
1 parent f97ec9f commit 82cc47f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,9 @@ function startWebCam() {

function openCamera() {
// alert("Opening Camera");
webcam.start();
camera.style.display = "block";
innerScreen.style.display = "none";
wallpaper.style.display = "none";
wallpaper.style.display = "none";
webcam.start();
}
// End of Camera script
4 changes: 4 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
display: flex;
flex-direction: column;
}
#webCam {
width: 290px;
height: 460px;
}
}

h1 {
Expand Down

0 comments on commit 82cc47f

Please sign in to comment.