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 8c46acf

Browse files
Update photo booth project
1 parent 9bd7fb8 commit 8c46acf

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

β€Ž19 - Webcam Fun/css/style.css

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ video {
137137
transform: rotate(-14deg);
138138
}
139139

140-
/* scrollbar */
140+
/* scrollbar start */
141141
::-webkit-scrollbar {
142142
width: 1.5rem;
143143
}
@@ -155,8 +155,9 @@ video {
155155
::-webkit-scrollbar-thumb:hover {
156156
background-color: var(--scrollbar-hover-color);
157157
}
158+
/* scrollbar end */
158159

159-
/* loader */
160+
/* loader start */
160161
#loadingDiv {
161162
top: 0;
162163
left: 0;
@@ -175,8 +176,9 @@ video {
175176
height: 7rem;
176177
background: center / contain no-repeat url(../img/loader.gif);
177178
}
179+
/* loader end */
178180

179-
/* media queries */
181+
/* media queries start */
180182
@media screen and (max-width: 700px) {
181183
#canvas {
182184
height: 70vh;
@@ -198,10 +200,11 @@ video {
198200

199201
@media screen and (max-width: 500px) {
200202
html {
201-
font-size: 9px;
203+
font-size: 8.7px;
202204
}
203205

204206
#canvas {
205207
height: 65vh;
206208
}
207209
}
210+
/* media queries end */

β€Ž19 - Webcam Fun/js/script.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ function getVideo() {
2121
}
2222

2323
function paintCanvas() {
24+
hello.currentTime = 1.5;
2425
hello.play();
2526
const width = video.videoWidth;
2627
const height = video.videoHeight;
@@ -66,7 +67,7 @@ $("html").css(
6667
"hidden",
6768
setTimeout(() => {
6869
$("html").css("overflow-y", "visible");
69-
}, 1800)
70+
}, 1700)
7071
);
7172

7273
$(window).on("load", () => {

0 commit comments

Comments
(0)

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /