-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
52 lines (46 loc) · 903 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
* {
margin: 0;
box-sizing: boder-box;
}
.wrapper {
height: 100vh;
/* overflow-y: auto; */
overflow-x: hidden;
perspective: 20px;
}
header {
position: relative;
display: flex;
justify-content: center;
align-items: center;
transform-style: preserve-3d;
z-index: -1;
height: 100%;
}
.bg,.fg{
position: absolute;
width: 100%;
height: 100%;
object-fit: cover;
}
.bg {
transform: translateZ(-20px) scale(2);
}
.fg {
transform: translateZ(-5px) scale(1.5);
}
h3 {
padding: 10px;
z-index: 1;
/* color: white;
text-shadow: 0 0 5px black; */
font-size: 7rem;
background: linear-gradient(to right, yellow, orange);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
section {
background: #333;
color: white;
padding: 10px 300px;
}