css contact card ui design

How we can design a contact or profile card for a website? Solution: See this CSS Contact Card UI Design With HTML, Profile Card For Website.

Previously I have shared contact vCard, but this is a contact card UI design with phone no and email which you can use on websites. The online contact card is a kind of business card, but it is for an online platform like a website. Most of the website shows their members info using this type of profile card.

Today you will learn to create Profile Card For Website. Basically, there is a profile card which contains a profile photo, a cover photo, name, email, phone number, and some social media links. And some basic HTML features available here like mail and call function, you have to click on the mail address to directly send mail.

So, Today I am sharing CSS Contact Card UI Design With HTML. I have used pure HTML and CSS to create this contact or profile card, also I have used a third-party icon library for placing social media icons. If you are a beginner in HTML CSS then this will be best practise for you, also you can use this UI design on your website.

If you are thinking now how this profile contact card actually is, then see the preview given below.

Preview Of Profile Card For Website

See this video preview to getting an idea of how this card UI looks like.

Live Demo

Now you can see this visually, you also 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:

CSS Contact Card UI Design With HTML Source Code

Before sharing source code, let’s talk about it. First I have created the main div with class name card and placed all other content inside it. I have placed two divs for placing the cover and avatar images, a heading for the name, two hyperlinks for email and phone number. After that, I have created a list using HTML <ul> & <li> tags for icons and placed list items inside hyperlinks.

Now using CSS I have placed all the elements in the right place, as you can see in the preview. For putting the banner and avatar or profile image I have used CSS background-image property (info). And I have used font-awesome library for placing social icons, there is an animation effect on the icons when you will hover on it.

To create the social icon animation I have used CSS transform: scale() property. And many more things I have done using CSS like size, position, color, 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 only 2 files, one for HTML and one for CSS. Follow the steps to creating this without any error.

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.

That’s It. Now you have successfully created CSS Contact Card UI Design With HTML, Profile Card For Website. If you have any doubt or question comment down below.

Thanks For Visiting, Keep Visiting.

LEAVE A REPLY

Please enter your comment!
Please enter your name here