Skip to content

Commit 3d38cf0

Browse files
authored
fix(popup): 规范化写动效,兼容处理 (#3206)
1 parent 1379862 commit 3d38cf0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/packages/popup/popup.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,9 @@
197197
from {
198198
transform: translate3d(0, -100%, 0);
199199
}
200+
to {
201+
transform: translate3d(0, 0%, 0);
202+
}
200203
}
201204

202205
@keyframes popup-slide-top-exit {
@@ -224,6 +227,9 @@
224227
from {
225228
transform: translate3d(100%, 0, 0);
226229
}
230+
to {
231+
transform: translate3d(0%, 0, 0);
232+
}
227233
}
228234

229235
@keyframes popup-slide-right-exit {
@@ -251,6 +257,9 @@
251257
from {
252258
transform: translate3d(0, 100%, 0);
253259
}
260+
to {
261+
transform: translate3d(0, 0%, 0);
262+
}
254263
}
255264

256265
@keyframes slide-bottom-exit {
@@ -278,6 +287,9 @@
278287
from {
279288
transform: translate3d(-100%, 0, 0);
280289
}
290+
to {
291+
transform: translate3d(0%, 0, 0);
292+
}
281293
}
282294

283295
@keyframes popup-slide-left-exit {

0 commit comments

Comments
 (0)