Skip to content

Commit

Permalink
efecto espejo
Browse files Browse the repository at this point in the history
  • Loading branch information
uo276467 committed Jan 8, 2024
1 parent 34fc108 commit 1d1caf6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ <h1>
<span class="mdc-button__label">ENABLE WEBCAM</span>
</button>
<section style="position: relative">
<video
<video hidden
id="webcam"
autoplay
playsinline
Expand Down
3 changes: 3 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,7 @@ main section{
#p5canvas {
border: 2px solid black;
visibility: visible;
transform: rotateY(180deg);
-webkit-transform:rotateY(180deg); /* Safari and Chrome */
-moz-transform:rotateY(180deg); /* Firefox */
}

0 comments on commit 1d1caf6

Please sign in to comment.