Skip to content

Commit afc2235

Browse files
committed
feat(ImgViewer): transition duration
1 parent 794fb89 commit afc2235

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib/ImgPreview/style.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@
3737
}
3838
.img-viewer-current {
3939
position: relative;
40-
transition: transform .45s;
41-
animation: preview-ani 0.5s linear;
40+
transition: transform .3s ease-in-out;
41+
animation: preview-ani 0.3s ease-in-out;
4242
}
4343
@keyframes preview-ani {
4444
from {
45-
opacity: 0;
45+
opacity: 0.3;
4646
}
4747
to {
4848
opacity: 1;

0 commit comments

Comments
 (0)