Skip to content

Commit

Permalink
feat(core): support for coverflow effect in CSS Mode
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Aug 6, 2021
1 parent 61448e3 commit 8300225
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/core/core.less
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@

/* 3D Effects */
.swiper-container-3d {
perspective: 1200px;
&,
&.swiper-container-css-mode .swiper-wrapper {
perspective: 1200px;
}
.swiper-wrapper,
.swiper-slide,
.swiper-slide-shadow-left,
Expand Down
5 changes: 4 additions & 1 deletion src/core/core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@

/* 3D Effects */
.swiper-container-3d {
perspective: 1200px;
&,
&.swiper-container-css-mode .swiper-wrapper {
perspective: 1200px;
}
.swiper-wrapper,
.swiper-slide,
.swiper-slide-shadow-left,
Expand Down

0 comments on commit 8300225

Please sign in to comment.