-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanimation.css
149 lines (138 loc) · 3.13 KB
/
animation.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
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
@media only screen and (min-width: 991px){
#img1 img, #img2 img, #img3 img, #img4 img, #img6 img{
animation-name: teuDaekCicing;
animation-duration: 5s;
animation-iteration-count: infinite;
}
#img5 img, #img7 img, #img8 img{
animation-name: teuDaekCicing2;
animation-duration: 5s;
animation-iteration-count: infinite;
}
#img3 img{
animation-name: rotate;
animation-duration: 20s;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
@keyframes rotate{
0%{
transform: rotate(0deg);
}
100%{
transform: rotate(360deg);
}
}
@keyframes teuDaekCicing2{
0%{
transform: translateY(0px);
}
50%{
transform: translateY(10px);
}
100%{
transform: translateY(0px);
}
}
@keyframes teuDaekCicing{
0%{
transform: translateY(0px);
}
50%{
transform: translateY(20px);
}
100%{
transform: translateY(0px);
}
}
}
.square-top{
transition: transform 1s cubic-bezier(.79,.14,.15,.86);
transform-origin: left;
transform: scaleX(0);
}
.square-top[data-scroll="in"]{
transform: scaleX(1);
}
.square-bottom{
transition: transform 1s cubic-bezier(.79,.14,.15,.86);
transform-origin: bottom;
transform: scaleY(0);
}
.square-bottom[data-scroll="in"]{
transition-delay: .5s;
transform: scaleY(1);
}
.title-banner, .p-banner, .text{
opacity: 0;
transform: translateY(90px);
transition: transform 1s cubic-bezier(.79,.14,.15,.86), opacity 1s cubic-bezier(.79,.14,.15,.86);
}
.title-banner[data-scroll="in"], .p-banner[data-scroll="in"]{
opacity: 1;
transform: translateY(0px);
}
.title-banner[data-scroll="in"]{
transition-delay: 1.2s;
}
.p-banner[data-scroll="in"]{
transition-delay: 1.6s;
}
.text[data-scroll="in"]{
opacity: 1;
transform: translateY(0px);
}
.tools-icon{
transform: scale(0);
transition: transform .4s cubic-bezier(.68,-0.55,.27,1.55);
}
.tools-icon[data-scroll="in"]{
transform: scale(1);
}
.title{
position: relative;
transform: scaleX(0);
transform-origin: left;
transition: transform .3s ease;
padding: 0px 10px;
color: #60E5A5;
}
.title::before{
content: '';
position: absolute;
top: 0;
left: 0px;
width: 25px;
height: 100%;
background-color: transparent;
box-shadow: 0px 0px 0px 5px #6C4EE2;
z-index: -1;
transform: rotate(0) scale(0);
transition: transform .3s ease;
}
.title[data-scroll="in"]::before{
transition-delay: .6s;
transform: rotate(135deg) scale(1);
}
.title::after{
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #D4426E;
transform-origin: right;
transform: scaleX(1);
transition: transform .3s ease;
}
.title.about::after{
width: 120px;
}
.title[data-scroll="in"]{
transform: scaleX(1);
}
.title[data-scroll="in"]::after{
transition-delay: .5s;
transform: scaleX(0);
}