Animated Profile Card using HTML CSS & JavaScript

 

Animated Profile Card

Hello, friends today in this blog you are going to learn how to create this profile card using HTML, CSS, and JavaScript.

In this blog post, we are also going to learn how to create Twitter heart animation.

An animated profile card is a profile card with animations in a profile card we can add animation to drag the viewer's attention.  In this animated profile card as you can see in the image preview we have at the top of our image, at the bottom, we have a text containing our name and the Job Specification. At the bottom, we have two buttons, the message button and follow button.

As I mentioned earlier if we click the follow button, button texts instantly change from "Follow" to "Following" and Twitter heart animation pops up.

To understand furthermore on this project "Animated Profile Card" I would be linking the video to this project to understand the concept behind creating this project.


Video Tutorial of Animated Profile Card using JavaScript




with this video, I hope you have understood the concept behind creating this project and I believe you can make something of this and make it better like an idea for you, you can put this profile card in your portfolio as an owl carousel or another idea is to create a team section and put this profile card.

I also believe you can make better UI designs from this project. My job is to inspire you to create amazing projects on your own.
Now that you have watched the video and know how to create this we will be discussing how I got the animated heart icon like Twitter's, I actually got a link to that so think of it like you're creating a web app with API(Application Programming Interface), remember you would have to go to the API website and copy the API website link, also you would also need to copy your API key. think of it exactly like that I copied the link from the website just like an API then I added the CSS animation on that heart icon.


Animated Profile Card using JavaScript 
[Source Code]

To create this Animated Profile Card. First, you need to create three Files: HTML, CSS & JavaScript File. After creating these files just paste the given codes into your file. You can also download the source code files of this Animated Profile Card from the given download button.


HTML CODE:


CSS CODE:



JAVASCRIPT CODE:



That's all now you've successfully created this Animated Profile Card using HTML CSS & JavaScript, If you faced difficulty understanding or copying the source code you can just download the source code file from the given download button, extract the file, and use it.


2 Comments

We welcome relevant and respectful comments. Off-topic or spam comments may be removed.

  1. .wrapper{
    width: 100%;
    max-width: 400px;
    padding: 20px;

    text-align: center;
    border: 0px solid rgba(100, 100, 100, 1);
    border-radius: 24px;
    background:
    radial-gradient(
    110% 146% at 86% -17%,
    rgba(22, 14, 113, 1) 0%,
    rgba(19, 13, 92, 0.26) 55%,
    rgba(90, 35, 248, 0) 90%
    ),
    linear-gradient(
    44deg,
    rgba(37, 169, 249, 1) 2%,
    rgba(106, 103, 227, 0) 87%
    ),
    radial-gradient(
    102% 103% at 21% 24%,
    rgba(121, 54, 174, 1) 0%,
    rgba(121, 54, 174, 0) 100%
    ),
    radial-gradient(
    94.51% 124.88% at 96% 94.43%,
    rgba(65, 244, 255, 0.78) 0%,
    rgba(131, 218, 255, 0.66) 32%,
    rgba(99, 175, 240, 0.4) 64%,
    rgba(43, 90, 211, 0) 100%
    ),
    linear-gradient(
    313.04deg,
    rgba(52, 29, 101, 1) 1%,
    rgba(96, 74, 234, 1) 100%
    );
    }

    ReplyDelete

Post a Comment

We welcome relevant and respectful comments. Off-topic or spam comments may be removed.

Previous Post Next Post