mirror of
https://github.com/Noratrieb/slides.git
synced 2026-01-14 16:35:07 +01:00
zoom transition now uses zooming for vertical transitions, too
This commit is contained in:
parent
7867b77833
commit
2d57981261
2 changed files with 9 additions and 7 deletions
|
|
@ -627,6 +627,7 @@ $controlsArrowAngleActive: 36deg;
|
|||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
pointer-events: none;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.reveal .slides>section.present,
|
||||
|
|
@ -801,10 +802,10 @@ $controlsArrowAngleActive: 36deg;
|
|||
transform: scale(0.2);
|
||||
}
|
||||
@include transition-vertical-past(zoom) {
|
||||
transform: translate(0, -150%);
|
||||
transform: scale(16);
|
||||
}
|
||||
@include transition-vertical-future(zoom) {
|
||||
transform: translate(0, 150%);
|
||||
transform: scale(0.2);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue