fixed video blur
This commit is contained in:
+10
-9
@@ -361,26 +361,27 @@ a.btn-primary:visited {
|
|||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
background: #000;
|
background: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.blurred-video-bg {
|
.blurred-video-bg {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 50%;
|
||||||
left: 0;
|
left: 50%;
|
||||||
width: 100%;
|
min-width: 100%;
|
||||||
height: 100%;
|
min-height: 100%;
|
||||||
|
width: auto;
|
||||||
|
height: auto;
|
||||||
|
transform: translate(-50%, -50%) scale(1.2);
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
filter: blur(20px) brightness(0.6);
|
filter: blur(25px) brightness(0.5);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
transform: scale(1.1);
|
z-index: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.blurred-video-main {
|
.blurred-video-main {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-height: 360px;
|
max-height: 360px;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
|
|||||||
Reference in New Issue
Block a user