Sliding preview images Panels Template with jQuery
This is A simple portfolio template, with project preview images that slide out to reveal the selected project.
We’re not new to experimenting with
portfolio templates.
This time, we’ve been playing around with the idea of moving blocks of
content as a way to transition from the main/gallery page to the project
page. All panels move along the y-axis (x-axis on smaller devices), and
the movement is triggered by whether the user wants to learn more about
a project, or wants to access the navigation.
Creating the structure
The HTML structure is composed of two unordered lists,
the ul.cd-projects-previewsfor the project preview images and
the ul.cd-projects for the project details, and
anav.cd-primary-nav wrapping the main navigation.
<div class="cd-projects-container"> |
<ul class="cd-projects-previews"> |
<div class="cd-project-title"> |
<p>Brief description of the project here</p> |
<div class="preview-image"> |
<div class="cd-project-title"> |
<p>Brief description of the project here</p> |
<div class="cd-project-info"> |
<button class="scroll cd-text-replace">Scroll</button> |
<nav class="cd-primary-nav" id="primary-nav"> |
<li class="cd-label">Navigation</li> |
<li><a href="#0">The team</a></li> |
</nav>
Post a Comment