A clean, modern, and responsive profile card component built with HTML and CSS. This project provides a simple template for showcasing a user's profile information, including a picture, bio, stats, and social media links.
- Profile Information: Displays a user's name, job title, and a short biography.
- Profile Picture: Includes a circular profile image with a border that overlaps the header.
- User Stats: A section to showcase key statistics like followers, projects, and following count.
- Social Media Links: Integrated Font Awesome icons for linking to social profiles (Twitter, LinkedIn, GitHub, etc.).
- Hover Effect: A subtle lift effect on the card when the user hovers over it.
- Responsive Design: The layout is centered and designed to look great on various screen sizes.
- HTML5: For the structure and content of the card.
- CSS3: For all styling, layout (Flexbox), and animations.
- Google Fonts: Uses the 'Poppins' font for a clean and modern typeface.
- Font Awesome: For scalable vector icons for the social media links.
To use this profile card in your own project, follow these simple steps:
-
Download the files:
index.htmlstyle.css
-
Place them in the same project directory.
-
Open
index.htmlin your web browser to view the profile card.
You can easily customize the profile card by editing the index.html and style.css files.
- Profile Picture: Change the
srcattribute of the<img>tag with the classprofile-img. - Name, Title, and Bio: Edit the text content within the
.card-bodydiv. - Stats: Update the numbers and labels inside the
.statsdiv. - Social Links: Update the
hrefattribute for each<a>tag in the.social-linksdiv to point to your actual profiles. You can also change the icons by using different Font Awesome classes.
- Colors: Modify the color values for properties like
background-colorandcolor. The main theme color is set in the.card-headerclass (#4a90e2) and can be easily changed. - Fonts: Change the font by updating the
@importrule at the top of the file and thefont-familyproperty in thebodyselector. - Sizing: Adjust
width,padding, andfont-sizevalues to fit your design needs.