card flip animation

Hello Friends. Today, in this blog, we will learn how to create profile cards with a flip animation effect. To understand the project better, you need to watch the video tutorial below from beginning to end. On our YouTube channel, we have shared videos on the front end. If you are interested in frontend development then subscribe to our channel.




I hope you watched the whole card flip animation video once and understood how the project was made. In this project, we have made a profile card that has some information on the front and back. On the front side is an image, image-related information, social media link, and a learn more button. Clicking on the Learn More button will flip the card, and the information at the back will open in front of us. On the Backside of the profile card, we will see the name and designation and a bar chart of skills. There is a cross button on the top right side of the back card. If you click on that cross sign, the card will flip over and return to its previous state.

First, we will take two divs called front and back inside a div called 'wrapper'. On the front div, we will take a div called 'img-area' for the image. Then we will add the name and designation. To add a social media profile, we will add a span tag inside a P tag and add a font-awesome icon to it. Finally, we will add a button so that when we click on that, we get the flip animation. We will create the cross button at the beginning of the back card. Then we will take a div called 'container' and create the person's name, designation, and four skill bar charts in it.

You must have seen in the video how all the elements of the card are styled. This project uses the JavaScript library JQuery. In CSS, a class called 'animated' has been created so that clicking on the animate class button in the 'box' div triggers the 'animated' class. It is not possible to describe everything in detail in this blog. So please watch the video tutorial above and then collect the source code.


Profile Card flip Animation [ Source Code ]:

To create this project you have o create two files. One is the HTML file with the.html extension and the other is the CSS file with the .css extension. Please add the latest jquery and font-awesome CDN as well. After that copy the code below and paste them into your project. If you have any problems with the code below then download the source code from the Download button.

ADD HTML




ADD CSS:




I hope you have implemented the code correctly. We regularly share front-end related source code on our blog. So visit our blog regularly. Share our blog articles with like-minded people. Learn for yourself and help others learn. Thanks for visiting our blog.

Post a Comment

Please Do not Enter any spam link in the comment box