-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
87 lines (79 loc) · 1.44 KB
/
Copy pathstyle.css
File metadata and controls
87 lines (79 loc) · 1.44 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
*{
margin: 0;
padding: 0;
}
body{
background-image:url(a4.jpg);
background-repeat: no-repeat;
width:100%;
background-position: center;
background-size: cover;
height: 100%;
margin-top: 50%;
}
.scroll-down{
position: absolute;
bottom: 5.5rem;
left: 50%;
transform: translateX(-50%);
display: flex;
flex-direction: column;
align-items: center;
}
.scroll{
width: 2rem;
height: 4rem;
border: 2px solid white;
border-radius: 2rem;
display: flex;
justify-content: center;
align-items: center;
}
.scroll span{
width: 0.8rem;
height: 0.8rem;
border-radius: 50%;
background: white;
display: block;
animation:cursor 1.15s linear infinite;
}
.arrow-down{
width: 0.8rem;
height: 0.8rem;
border: 2px solid transparent;
border-right-color: white;
border-bottom-color: white;
transform: rotate(45deg);
margin-top: 0.3rem;
animation: arrow 1.15s linear infinite;
}
@keyframes arrow{
0%
{
opacity:0;
}
25%
{
opacity: 0.25;
}
50%{
opacity: 0.50;
}
75%
{
opacity: 0.75;
}
100%{
opacity: 1;
}
}
@keyframes cursor{
0%{
opacity: 0;
transform: translateY(-1rem);
}
100%{
opacity: 1;
transform: translateY(1rem);
}
}