A modern, responsive digital business card built with pure HTML, CSS, and JavaScript. Perfect for networking, sharing contact information, and creating a professional online presence.
- 🎨 Modern Design - Clean, professional layout with gradient backgrounds and smooth animations
- 📱 Fully Responsive - Looks great on desktop, tablet, and mobile devices
- 🔗 Interactive Links - Direct links to email, website, LinkedIn, and GitHub
- 📄 vCard Download - One-click contact saving to address books
- 📋 Resume Download - Easy access to PDF resume
- ⚡ Fast Loading - Pure HTML/CSS/JS with no external dependencies
- 🎯 SEO Friendly - Optimized meta tags and semantic HTML
Visit the live demo at: card.colemanpagac.com
- HTML5 - Semantic markup structure
- CSS3 - Modern styling with flexbox, gradients, and animations
- JavaScript - vCard generation and download functionality
- Google Fonts - Inter font family for typography
digital-business-card/
├── index.html # Main HTML file
├── Coleman_Pagac_Resume.pdf # Resume file (add your own)
├── README.md # This file
└── preview.png # Screenshot for documentation
-
Clone the repository
git clone https://github.com/yourusername/digital-business-card.git cd digital-business-card -
Add your resume
- Replace
Coleman_Pagac_Resume.pdfwith your own resume file - Keep the same filename or update the link in the HTML
- Replace
-
Deploy
- Upload to any web hosting service
- Works with GitHub Pages, Netlify, Vercel, or traditional hosting
Update the following sections in index.html:
<!-- Name and titles -->
<h1 class="name">Your Name</h1>
<div class="title">Your Title</div>
<div class="subtitle">Your Specialties</div>
<!-- Contact links -->
<a href="mailto:your-email@domain.com">
<a href="https://yourwebsite.com">
<a href="https://linkedin.com/in/yourprofile">
<a href="https://github.com/yourusername">Modify CSS variables in the <style> section:
/* Main gradient colors */
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #6c757d 100%);
/* Card header gradient */
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 30%, #6c757d 60%, #343a40 90%, #1e2124 100%);Update the vCard data in the JavaScript section:
const vCardData = `BEGIN:VCARD
VERSION:3.0
FN:Your Full Name
N:LastName;FirstName;;;
ORG:Your Company
TITLE:Your Job Title
EMAIL;TYPE=INTERNET;TYPE=HOME:your-email@domain.com
URL:https://yourwebsite.com
URL;TYPE=LinkedIn:https://linkedin.com/in/yourprofile
URL;TYPE=GitHub:https://github.com/yourusername
END:VCARD`;Popular subdomain options for hosting:
card.yourdomain.comme.yourdomain.comabout.yourdomain.comcontact.yourdomain.combio.yourdomain.com
The card is fully responsive and includes:
- Touch-friendly button sizes
- Optimized typography scaling
- Proper viewport configuration
- Mobile-specific hover states
- ✅ Chrome/Chromium 60+
- ✅ Firefox 55+
- ✅ Safari 12+
- ✅ Edge 79+
- ✅ Mobile browsers (iOS Safari, Chrome Mobile)
- Lightweight - Single HTML file under 10KB
- Fast Loading - No external dependencies except Google Fonts
- Optimized Images - SVG icons for crisp display at any size
- Efficient CSS - Minimal, optimized stylesheets
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Design inspired by modern business card layouts
- Icons from Google Material Design
- Typography using Google Fonts (Inter)
Coleman Pagac - contact@colemanpagac.com
Project Link: https://github.com/cpagac/digital-business-card
⭐ If this helped you create an awesome digital business card, please give it a star!