“Look Inside” Book Preview with BookBlock

A “look inside” book preview with BookBlock. A concept for book showcases or online book stores that shows a grid of books with the options to view the details and to look inside of the book, opening the BookBlock in fullscreen and allowing for a 3D page navigation.

There is something really fascinating about (real) books. Although we live in times where everything is digitalized by now, there is really nothing like picking up a real book and browsing through the pages. Many layouts on the web try to transmit that feeling by creating book-like experiences. On Codrops we’ve played many times with these kind of layouts, too. Today we’d like to show you a little concept for an online bookstore or book collection, using our BookBlock script. The idea is to show a grid of books where we can view some details of the book and where we can open the book to preview an excerpt. You surely know this kind of “look inside” option from Amazon, where you can have a taste of a book’s content. For the book preview we are using BookBlock in fullscreen and for the small books we use a structure with perspective that allows us to open the book in 3D.

Please note that this is just a proof-of-concept and might not work properly in older browsers.

For the book grid we use figures and this is how it looks:
BookPreview01

When we click on “view details”, we rotate the book in 3D and move it to the left side, allowing for the details to slide in from the right:
BookPreview02

Once “look inside” is clicked we perform a series of animations on the book, its cover and the BookBlock. The small book will open and scale up while the BookBlock fades in and scales up a bit. The fullscreen BookBlock shows the first preview pages:
BookPreview03

When clicking on one of the navigation arrows, we flip the respective page in 3D and reveal the next ones:
BookPreview04

Tiny break: 📬 Want to stay up to date with frontend and trends in web design? Subscribe and get our Collective newsletter twice a tweek.

Credits

We love playing with books in our experiments, so if you’d like to explore some similar articles and demos, check out these ones:

As mentioned before, this is an experimental concept implementation so if you find any bugs or glitches please let us know.

I hope you find this interesting and inspiring!

Manoela Ilic

Manoela is the main tinkerer at Codrops. With a background in coding and passion for all things design, she creates web experiments and keeps frontend professionals informed about the latest trends.

Stay in the loop: Get your dose of frontend twice a week

Fresh news, inspo, code demos, and UI animations—zero fluff, all quality. Make your Mondays and Thursdays creative!

Feedback 68

Comments are closed.
  1. Hi Mary Lou…
    Nice work. Really amazing. I have one doubt in this script..how to set speed of opening and closing..

  2. Hey Mary, I am wondering if you could help me with something.. I am trying to decipher some of this code but i am not as advanced in scripting yet. Although, would love some help if possible. Can you guide me on what I need to look at or simply change in the script so that I can combine the presentation (look and function) of the books in the 3D Book Showcase demo that you used the link for (http://tympanus.net/Development/3DBookShowcase/) with the fullscreen bookblock effect? Thanks in advance and greatly appreciate it.

    • To elaborate into more detail on this, I would like this so that once a user clicks on the view inside button, the book opens up to the inside page. Then within the inside page, have a link that once it is clicked, it expands into the fullview of the bookblock effect… hope this clarified things more.