Добавила ресурсы.
This commit is contained in:
34
source/styles/bg-video.css
Normal file
34
source/styles/bg-video.css
Normal file
@ -0,0 +1,34 @@
|
||||
.bgvideo {
|
||||
height: 80vh;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.bgvideo video {
|
||||
height: 80vh;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
object-fit: cover;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.effect {
|
||||
height: 80vh;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
object-fit: cover;
|
||||
z-index: 2;
|
||||
background-color: rgba(0, 0, 0, 0.412);
|
||||
}
|
||||
|
||||
.video-text {
|
||||
color: bisque;
|
||||
z-index: 2;
|
||||
}
|
||||
Reference in New Issue
Block a user