-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
42 lines (35 loc) · 733 Bytes
/
styles.css
File metadata and controls
42 lines (35 loc) · 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: sans-serif;
font-size: 1.4rem;
}
#bound-one {
background: #d0d8db;
}
#bound-two {
background: #dfcece;
}
#bound-three {
background: #D0D6B3;
}
.scroll-bound {
height: 500vh;
}
.scroll-bound .content {
height: 100vh;
width: 100%;
position: sticky;
top: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.scroll-bound video {
width: 100%; /* Set the width of the video to 100% */
height: 100%; /* Set the height of the video to 100% */
object-fit: cover; /* Ensures the video covers the entire container */
}