Fully responsive CSS flip book,
JavaScript is at its minimum. Basically it's only used to set the initial page index and assign click listeners to the pages. Modifies the CSS Var for the current page, and the rest is handled entirely by CSS.
Additionally JavaScript allows you to click on an anchor link in your text — without turning the page. You can also have multiple independent flip books in a single document. You're all covered.
The opened (viewing) pages of the flip book are always kept at the same elevation. This is necessary if your book has no inclination (is top-down-view). Have you noticed that you can also click on the pages edge? CSS will nicely animate the group of pages to skip with a staggered animation.
Like in this demo, you can change the perspective of the parent container and change the X axis rotation of the book for extra effect.
The necessary FlipBook's CSS is barely 30 lines, there is no swipe, natural page flip angling, complex shadows, etc. in order to keep it as simple as possible.
Feel free to use and abuse this code. Drop me a line if you find it cool or useful, or just want to say hi.
Associate Professor Pediatric Cardiac surgery The Children’s Hospital & ICH PACVTS Promoter/ Director
Associate Professor Pediatric Cardiac surgery The Children’s Hospital & ICH PACVTS Promoter/ Director
Associate Professor Pediatric Cardiac surgery The Children’s Hospital & ICH PACVTS Promoter/ Director
Associate Professor Pediatric Cardiac surgery The Children’s Hospital & ICH PACVTS Promoter/ Director
Associate Professor Pediatric Cardiac surgery The Children’s Hospital & ICH PACVTS Promoter/ Director
Associate Professor Pediatric Cardiac surgery The Children’s Hospital & ICH PACVTS Promoter/ Director
Associate Professor Pediatric Cardiac surgery The Children’s Hospital & ICH PACVTS Promoter/ Director
Associate Professor Pediatric Cardiac surgery The Children’s Hospital & ICH PACVTS Promoter/ Director
Associate Professor Pediatric Cardiac surgery The Children’s Hospital & ICH PACVTS Promoter/ Director
Associate Professor Pediatric Cardiac surgery The Children’s Hospital & ICH PACVTS Promoter/ Director
Associate Professor Pediatric Cardiac surgery The Children’s Hospital & ICH PACVTS Promoter/ Director
Associate Professor Pediatric Cardiac surgery The Children’s Hospital & ICH PACVTS Promoter/ Director
Head Department of Cardiothoracic Surgery, Head Department of Surgery Ayub Teaching Hospital, Abbottabad.
Head Department of Cardiothoracic Surgery, Head Department of Surgery Ayub Teaching Hospital, Abbottabad.
Head Department of Cardiothoracic Surgery, Head Department of Surgery Ayub Teaching Hospital, Abbottabad.
Head Department of Cardiothoracic Surgery, Head Department of Surgery Ayub Teaching Hospital, Abbottabad.
Head Department of Cardiothoracic Surgery, Head Department of Surgery Ayub Teaching Hospital, Abbottabad.
Head Department of Cardiothoracic Surgery, Head Department of Surgery Ayub Teaching Hospital, Abbottabad.
Head Department of Cardiothoracic Surgery, Head Department of Surgery Ayub Teaching Hospital, Abbottabad.
Head Department of Cardiothoracic Surgery, Head Department of Surgery Ayub Teaching Hospital, Abbottabad.
Head Department of Cardiothoracic Surgery, Head Department of Surgery Ayub Teaching Hospital, Abbottabad.
Head Department of Cardiothoracic Surgery, Head Department of Surgery Ayub Teaching Hospital, Abbottabad.
Head Department of Cardiothoracic Surgery, Head Department of Surgery Ayub Teaching Hospital, Abbottabad.
Head Department of Cardiothoracic Surgery, Head Department of Surgery Ayub Teaching Hospital, Abbottabad.
Head Department of Cardiothoracic Surgery, Head Department of Surgery Ayub Teaching Hospital, Abbottabad.
OFFICE: 2nd Floor, Conference Room, Punjab Institute of Cardiology, Jail Road Lahore
© Copyright 2024 pacvts. All rights reserved
Designed & Developed by LEADconcept