-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart_animation.css
More file actions
122 lines (120 loc) · 2.09 KB
/
start_animation.css
File metadata and controls
122 lines (120 loc) · 2.09 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
.background {
filter: blur(0);
animation: blur 3s ease-out forwards;
animation-delay:1s;
}
/* 네비바 */
.navbar {
width: 100%;
color: white;
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
padding: 15px 12px;
position: fixed;
top: 0;
animation: fadeIn 3s ease 1s forwards; /* 애니메이션 적용 */
opacity: 0;
}
.navbar a{
text-decoration: none;
color: inherit;
}
.navbar::after {
content: "";
display: block;
height: 1px;
background: linear-gradient(to left, hsla(189, 72%, 93%, 0.664), rgba(76, 90, 97, 0.664) 80%);
position: absolute;
bottom: 0;
left: 27px;
right: 27px;
}
/* 메인페이지 시작 문구 */
.nav_logo i{
padding: 15px;
font-size: 2.5vmin;
}
.eng {
opacity: 1;
transition: opacity 3s ease-in-out;
}
.ko {
opacity: 0;
transform: translatey(-100%) translateX(5%);
transition: opacity 3s ease-in-out;
}
#intro {
position: relative;
top: 100px;
left: 150px;
}
.eng h1 {
font-size: 13vmin;
margin-bottom: 0;
}
.eng p {
font-size: 1.8vmin;
margin-top: 0;
}
.ko h1 {
font-size: 8vmin;
margin-top:50px;
}
.ko h2 {
font-size: 3vmin;
margin-top:5px;
margin-bottom: 20px;
}
.ko h3 {
font-size: 2.5vmin;
margin-bottom: 5px;
}
/* 화면 스크롤하면 나타나는 네비바 */
html{
overflow: hidden;
}
section{
height: 100vh; /* 100% of the viewport height */
width: 100%;
position: relative;
}
.start_link {
position: absolute;
text-align: center;
width: 100%;
top: 20vh;
}
.start_link ul {
list-style:none;
}
.start_link li{
margin-top: 100px;
}
.start_link a {
padding: 15px;
text-decoration: none;
font-size: 3vmin;
color: inherit;
}
/* 블러, 네비바 애니메이션 */
@keyframes blur {
0% {
filter: blur(0);
}
100% {
filter: blur(40px);
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@media screen and (max-width:900px){
.navbar{display: none;}
}