A simple responsive layout with some fancy page transitions. The idea is to show four items initially and expand them. Some additional page transitions are added for inner items.
Today we’d like to share an experimental responsive layout with you.
Initially, the layout shows four flexible boxes. When clicking on a box,
it will expand to fullscreen and the others will scale down and fade
out. When closing the current view, it will move back to the intial
position while the other boxes come back up again. Another type of page
transition can be seen on the works section where we will show a
portfolio item by sliding in a panel from the bottom. The current view
gets scaled down and disappears in the back.
All effects are done with CSS transitions and controled by applying
classes with JavaScript. The whole layout is flexible and some media
queries are added to size down things for smaller screens.
The beautiful illustrations used in the works section of the demo are by talented Isaac Montemayor.
Let’s take a look at some screenshots:
The initial screen has the four flexible boxes. Resize the browser window to see them adapting fluidly.
When clicking on a box, it get’s expanded to fullscreen.
The view of a box that is expanded. A content are is revealed and we add a scroll to it when needed.
In the works section, we add a thumbnail grid which will reveal a
details panel once we click on an item. The page transition here is the
new item sliding in from the bottom and the old view scaling down and
disappearing in the back.
The navigation through the items has the same page transition. When
we close the item view, it will transition back down and the works view
will scale back up again.
We hope you like this little experiment and find it inspiring!
FIND THIS PROJECT ON GITHUB
Article By : Mary Lou
Permalink : http://tympanus.net/codrops/2013/04/23/fullscreen-layout-with-page-transitions/
Langganan:
Posting Komentar (Atom)
0 Comments
Posting Komentar