๐งฉ Overview This project is a pure CSS-based dynamic interactive book that simulates page-flipping animations using cutting-edge features available in modern Chrome (134โ135+). It seamlessly combines several powerful CSS technologies to create a fully scrollable, sprite-driven animated experience resembling a book with turning pages.
๐ Core Features
๐ Book-like Page Flipping
Each "slide" or section of the book corresponds to a virtual page. The animation mimics a realistic flipping effect using sprite sheets and scroll-driven animations.
๐ง Technologies Used
๐ง Dynamic Behavior
All animations are automatically adjusted when changing the number of slides via the --slides variable. Frame
count, sprite layout, and total animation length adapt based on user-defined CSS variables. The animation is responsive to scroll progress using scroll-timeline and is scoped per element using timeline-scope.
๐ผ๏ธ Visual Layers
The book page uses a layered sprite system: One sprite sheet per page flip animation Positioned and animated via background-image The correct frame is selected based on scroll or button input
๐งช Browser Support
Requires Chrome 134+ for experimental CSS features like scroll-timeline, animation-timeline, ::scroll-button, and ::scroll-marker Best viewed with flags enabled or origin trials if needed
๐ฆ Use Cases
Digital storytelling
Visual novels
Portfolio presentations
Interactive learning materials