Added video and noise
This commit is contained in:
@@ -118,7 +118,7 @@ html, body{
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
|
||||
canvas {
|
||||
#canvas {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
position: fixed;
|
||||
@@ -126,7 +126,25 @@ canvas {
|
||||
padding: 0;
|
||||
/* margin-top: 0vh; */
|
||||
text-align: center;
|
||||
/* height: 100vh; */
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#canvas video {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
#canvas .overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
mix-blend-mode: multiply;
|
||||
background: url("./background-noise.png");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user