WEBLEB
Home
Editor
Login
Pro
English
English
Français
Español
Português
Deutsch
Italiano
हिंदी
Neumorphic Profile Card HTML CSS Template
331
alejandrokundrah
Open In Editor
Publish Your Code
Recommended
30 March 2025
World Places (CSS 3d hover)
28 November 2024
Card effect
3 July 2025
HTML Dropdown Menu Code Example
HTML
Copy
Neumorphic Profile Card
John Doe
Software Developer
GitHub
LinkedIn
Contact Me
CSS
Copy
body { display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #e0e0e0; font-family: Arial, sans-serif; } .profile-card { width: 300px; border-radius: 50px; background: #e0e0e0; box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff; padding: 30px; text-align: center; transition: all 0.3s ease; } .profile-card:hover { box-shadow: 10px 10px 30px #bebebe, -10px -10px 30px #ffffff; } .profile-image { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 20px; overflow: hidden; box-shadow: inset 5px 5px 10px #bebebe, inset -5px -5px 10px #ffffff; } .profile-image img { width: 100%; height: 100%; object-fit: cover; } .profile-info h2 { margin: 10px 0; color: #333; } .profile-info p { color: #666; margin-bottom: 20px; } .social-links { display: flex; justify-content: center; gap: 15px; margin-bottom: 20px; } .social-link { text-decoration: none; color: #333; padding: 8px 15px; border-radius: 20px; background: #e0e0e0; box-shadow: 5px 5px 10px #bebebe, -5px -5px 10px #ffffff; transition: all 0.3s ease; } .social-link:hover { box-shadow: inset 5px 5px 10px #bebebe, inset -5px -5px 10px #ffffff; } #contact-btn { padding: 10px 20px; border: none; border-radius: 25px; background: #e0e0e0; color: #333; box-shadow: 5px 5px 10px #bebebe, -5px -5px 10px #ffffff; cursor: pointer; transition: all 0.3s ease; } #contact-btn:hover { box-shadow: inset 5px 5px 10px #bebebe, inset -5px -5px 10px #ffffff; }
JS
Copy
document.addEventListener('DOMContentLoaded', () => { const contactBtn = document.getElementById('contact-btn'); const githubLink = document.getElementById('github'); const linkedinLink = document.getElementById('linkedin'); contactBtn.addEventListener('click', () => { alert('Contact information coming soon!'); }); githubLink.addEventListener('click', (e) => { e.preventDefault(); window.open('https://github.com/yourusername', '_blank'); }); linkedinLink.addEventListener('click', (e) => { e.preventDefault(); window.open('https://linkedin.com/in/yourusername', '_blank'); }); });