A beautiful and interactive 3D card flip animation built with HTML, CSS, and JavaScript. This project demonstrates modern CSS 3D transforms and hover effects to create an engaging user experience.
- 3D Flip Animation: Smooth card rotation on hover using CSS transforms
- Responsive Design: Works on various screen sizes
- Modern UI: Clean and professional design with gradient backgrounds
- Social Media Integration: Ready-to-use social media icons
- Customizable: Easy to modify content, colors, and styling
Hover over the card to see the 3D flip animation in action!
3d-card/
├── index.html # Main HTML structure
├── style.css # CSS styles and animations
├── image-400.png # Card front image
├── 3d-card.gif # Animation demonstration
└── README.md # Project documentation
- HTML5: Semantic markup structure
- CSS3:
- 3D Transforms (
transform-style: preserve-3d) - Backface Visibility (
backface-visibility: hidden) - Smooth Transitions (
transition: transform 1s) - Hover Effects
- 3D Transforms (
- Font Awesome: Social media icons
- Google Fonts: Poppins font family
- Card Structure: The card consists of two faces - front and back
- 3D Perspective: CSS
perspectiveproperty creates 3D space - Transform Style:
preserve-3dmaintains 3D positioning - Backface Visibility: Hidden backface prevents seeing through the card
- Hover Animation: On hover, the card rotates 180 degrees around the Y-axis
- Clone or download the project files
- Open
index.htmlin your web browser - Hover over the card to see the animation
- Customize the content, images, and styling as needed
Replace image-400.png with your own image file and update the path in index.html.
Edit the content in index.html:
- Change the name in the
<h2>tag - Update the profession description
- Modify social media links
- Customize the resume button
Modify style.css to:
- Change colors (background, text, buttons)
- Adjust card dimensions
- Modify animation timing
- Update fonts and spacing
- ✅ Chrome (recommended)
- ✅ Firefox
- ✅ Safari
- ✅ Edge
⚠️ Internet Explorer (limited 3D support)
The card is designed to work on:
- Desktop computers
- Tablets
- Mobile devices (with touch interactions)
Feel free to contribute to this project by:
- Reporting bugs
- Suggesting new features
- Submitting pull requests
- Improving documentation
This project is open source and available under the MIT License.
- Font Awesome for the social media icons
- Google Fonts for the Poppins font family
- CSS 3D transforms for the amazing animation effects
Enjoy the 3D card animation! 🎉
