Skip to content

Commit 8e15c04

Browse files
committed
adjust scroll-effect-module.css
1 parent 5222cfd commit 8e15c04

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

example/scroll-effect-module.css renamed to examples/scroll-effect-module.css

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* js-scroll-effect-module JavaScript Library v0.1.4
2+
* js-scroll-effect-module JavaScript Library v0.2.0
33
* https://github.com/yama-dev/js-scroll-effect-module
44
* Copyright yama-dev
55
* Licensed under the MIT license.
@@ -18,27 +18,27 @@
1818
*/
1919
/*!
2020
* Set Effects
21-
* -> effect__fadein-basic
22-
* -> effect__fadein-top
23-
* -> effect__fadein-bottom
24-
* -> effect__fadein-left
25-
* -> effect__fadein-right
26-
* -> effect__fadein-zoomin
27-
* -> effect__spinin
21+
* -> js-scroll__fadein-basic
22+
* -> js-scroll__fadein-top
23+
* -> js-scroll__fadein-bottom
24+
* -> js-scroll__fadein-left
25+
* -> js-scroll__fadein-right
26+
* -> js-scroll__fadein-zoomin
27+
* -> js-scroll__spinin
2828
*/
29-
.effect__fadein-basic {
29+
.js-scroll__fadein-basic {
3030
opacity: 0;
3131
-webkit-transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
3232
transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
3333
}
3434

35-
.effect__fadein-basic.is-active {
35+
.js-scroll__fadein-basic.is-active {
3636
opacity: 1;
3737
-webkit-transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
3838
transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
3939
}
4040

41-
.effect__fadein-zoomin {
41+
.js-scroll__fadein-zoomin {
4242
opacity: 0;
4343
-webkit-transform: scale(0.99);
4444
transform: scale(0.99);
@@ -50,7 +50,7 @@
5050
transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
5151
}
5252

53-
.effect__fadein-zoomin.is-active {
53+
.js-scroll__fadein-zoomin.is-active {
5454
opacity: 1;
5555
-webkit-transform: scale(1);
5656
transform: scale(1);
@@ -62,7 +62,7 @@
6262
transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
6363
}
6464

65-
.effect__fadein-top {
65+
.js-scroll__fadein-top {
6666
opacity: 0;
6767
-webkit-transform: translate(0, -30px);
6868
transform: translate(0, -30px);
@@ -74,7 +74,7 @@
7474
transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
7575
}
7676

77-
.effect__fadein-top.is-active {
77+
.js-scroll__fadein-top.is-active {
7878
opacity: 1;
7979
-webkit-transform: translate(0, 0);
8080
transform: translate(0, 0);
@@ -86,7 +86,7 @@
8686
transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
8787
}
8888

89-
.effect__fadein-bottom {
89+
.js-scroll__fadein-bottom {
9090
opacity: 0;
9191
-webkit-transform: translate(0, 30px);
9292
transform: translate(0, 30px);
@@ -98,7 +98,7 @@
9898
transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
9999
}
100100

101-
.effect__fadein-bottom.is-active {
101+
.js-scroll__fadein-bottom.is-active {
102102
opacity: 1;
103103
-webkit-transform: translate(0, 0);
104104
transform: translate(0, 0);
@@ -110,7 +110,7 @@
110110
transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
111111
}
112112

113-
.effect__fadein-left {
113+
.js-scroll__fadein-left {
114114
opacity: 0;
115115
-webkit-transform: translate(-80%, 0);
116116
transform: translate(-80%, 0);
@@ -122,7 +122,7 @@
122122
transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
123123
}
124124

125-
.effect__fadein-left.is-active {
125+
.js-scroll__fadein-left.is-active {
126126
opacity: 1;
127127
-webkit-transform: translate(0, 0);
128128
transform: translate(0, 0);
@@ -134,7 +134,7 @@
134134
transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
135135
}
136136

137-
.effect__fadein-right {
137+
.js-scroll__fadein-right {
138138
opacity: 0;
139139
-webkit-transform: translate(80%, 0);
140140
transform: translate(80%, 0);
@@ -146,7 +146,7 @@
146146
transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
147147
}
148148

149-
.effect__fadein-right.is-active {
149+
.js-scroll__fadein-right.is-active {
150150
opacity: 1;
151151
-webkit-transform: translate(0, 0);
152152
transform: translate(0, 0);
@@ -158,7 +158,7 @@
158158
transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
159159
}
160160

161-
.effect__spinin {
161+
.js-scroll__spinin {
162162
opacity: 0;
163163
-webkit-transform: translate(0, 0) rotate3d(1, 0, 1, -720deg);
164164
transform: translate(0, 0) rotate3d(1, 0, 1, -720deg);
@@ -170,7 +170,7 @@
170170
transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
171171
}
172172

173-
.effect__spinin.is-active {
173+
.js-scroll__spinin.is-active {
174174
opacity: 1;
175175
-webkit-transform: translate(0, 0) rotate3d(1, 0, 1, 0);
176176
transform: translate(0, 0) rotate3d(1, 0, 1, 0);

0 commit comments

Comments
 (0)