This is a screenshot of my background video.
I tried to set negative margins to the video and overflow: hidden to the wrapper, as it's explained here, but it's not working... Perhaps because the video is position: fixed?
Here's the code:
#videowrapper {
height: 100vh;
background: black;
}
video {
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: 0;
filter: blur(20px);
}
How can I blur the video while keeping the edges defined?