Present: scroll at seconds a screenful, the slide lengthened to fit
A long slide waits half its seconds, scrolls one screenful per Scroll seconds (setup, screen= in the address, default 8), then waits the other half. Pausing pauses the scroll. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d17e2596ba
commit
3d087da005
2 changed files with 94 additions and 33 deletions
|
|
@ -39,19 +39,18 @@
|
|||
}
|
||||
}
|
||||
|
||||
/* A slide part taller than its room (Scroll): holds at the top,
|
||||
moves up by --present-scroll, holds at the end. With reduced
|
||||
motion it stays at the top. */
|
||||
/* A slide part taller than its room (Scroll): moves up by
|
||||
--present-scroll at a steady pace; its wait at the top is the
|
||||
inline animation-delay, and it stays at the end after. With
|
||||
reduced motion it stays at the top. */
|
||||
.present-scroll {
|
||||
animation: present-scroll ease-in-out both;
|
||||
animation: present-scroll linear both;
|
||||
}
|
||||
@keyframes present-scroll {
|
||||
0%,
|
||||
15% {
|
||||
from {
|
||||
transform: none;
|
||||
}
|
||||
85%,
|
||||
100% {
|
||||
to {
|
||||
transform: translateY(var(--present-scroll));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue