-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
63 lines (60 loc) · 980 Bytes
/
style.css
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
@import url('https://fonts.googleapis.com/css? family=Poppins:200,300,400,500,600,700,800,900&display=swap');
*
{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body{
background: rgb(0, 0,0);
min-height: 200vh;
}
section
{
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
}
section .side
{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
section .side#side1
{
clip-path: polygon(0 0, 0% 100%, 100% 100%);
}
section .side#side2
{
clip-path: polygon(0 0, 100% 0, 100% 100%);
}
section .side video
{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.content
{
color: #fff;
padding: 70px;
margin-top: 150vh;
}
.content h2
{
font-size: 15em;
}
.content p
{
font-size: 3em;
}