horizontal portfolio layout

How we can create a horizontally aligned image showcase using HTML, CSS, and JS? Solution: See this  Horizontal Portfolio Layout Using jQuery and CSS Animation.

Previously I have shared some portfolio related programs, but this is a portfolio layout that has horizontal placement and animations. Basically, a portfolio section for showing works, projects, and other kinds of images on a website. Mostly we show our works in the portfolio section, and it is a good way to present your work on the internet. This program is about how you can create your portfolio layout to present your work or anything else.

Today you will learn to create a jQuery and CSS based portfolio layout. Basically, there are some images with up-down placement in odd and even order. Below the images, there is a scrollbar to see all the images. All the images place horizontally left to right alignment, when you will move the scroll section then the left other images will show which are not visible at first. Each image contains, a title with a link, an author credit text, and a year.

So, Today I am sharing Horizontal Portfolio Layout Using jQuery and CSS Animation. There I have used jQuery for functioning and CSS for styling. As we know jQuery is a JS library, that’s why I am putting this post in the JavaScript category. You can use this program on your website in the portfolio section. After image change and some customization, this program is ready to place on your site.

If you are thinking now how this portfolio layout actually is, then see the preview given below.

Preview Of Image Portfolio Section

See this video preview to getting an idea of how this portfolio section looks like.

Live Demo

Now you can see this program visually, also you can see it live by pressing the button given above. If you like this, then get the source code of its.

You May Also Like:

Horizontal Portfolio Layout Source Code

Before sharing source code, let’s talk about it. First I have created the main div named container and placed all items inside it. Inside the main div, I have placed the image sections, all sections are based on the HTML list and inside each section I have placed an image, and 3 texts. Each section contains an image div, a title with a link, author text, and year. Also in the HTML file, I have linked external files like CSS, JS, and jQuery CDN.

Now using CSS I have placed all the elements in the right place, as you can see in the preview. With CSS I have done basic works like gave size, position, margin, padding, etc to the elements. For creating the animation effect I have used CSS @keyframe command and transform command. Also, I have used cubic-bezier command to define the animation curve.

jQuery handling here all the functions in the program. The main features in this program that are based on jQuery are scrolling to visible images, adding CSS class to animation, scroll to end image, etc. Left all other things you will understand after getting the codes, I can’t explain all in writing. For creating this program you have to create 3 files. First file for HTML, second file for CSS, and the third file for JavaScript.

Follow the steps to creating this program without any trouble.

index.html

Create an HTML file named ‘index.html‘ and put these codes given below.

style.css

Now create a CSS file named ‘style.css‘ and put these codes given here.

function.js

The last step, create a JavaScript file named ‘function.js‘ and put the codes.

That’s It. Now you have successfully created Horizontal Portfolio Layout Using jQuery and CSS Animation. If you have any doubt or questions comment down below.

Thanks For Visiting, Keep Visiting.

LEAVE A REPLY

Please enter your comment!
Please enter your name here