Skip to content

3D Rotating Card UI using pure HTML, CSS & JavaScript! > Click the card and it flips with a smooth 3D animation to reveal the back side. > Great for portfolios, testimonials, pricing blocks, flashcards, and more. > No libraries. Just clean, modern front-end magic πŸ’« > Try it, customize it, flip it your way

Notifications You must be signed in to change notification settings

codewithoyem/3d-rotating-card-ui-100daysofcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎲 3D Rotating Card UI

A visually stunning 3D rotating card built with HTML, CSS, and JavaScript. The card flips on click using CSS 3D transforms, revealing hidden content on the back. Perfect for portfolios, testimonials, pricing cards, flashcards, and more!


πŸ“‘ Table of Contents


✨ Features

  • πŸŒ€ Click-to-flip 3D rotating animation
  • 🎭 Dual-sided content (front and back)
  • 🎨 Stylish gradient background for both sides
  • βš™οΈ Smooth transitions with preserve-3d effect
  • πŸ“± Responsive, interactive, and lightweight
  • 🧠 Built with pure HTML, CSS & JavaScript (no libraries)

πŸ–Ό Preview

3D Rotating Card Preview


πŸ“ File Structure

  • index.html: Main HTML structure
  • style.css: Styling, gradients, 3D transforms
  • script.js: Handles the flip interaction on click

🌐 Live Demo

πŸ”— View Live Demo


βš™οΈ Installation

  1. Clone the repository:

    git clone https://github.com/codewithoyem/3d-rotating-card-ui-100daysofcode.git
    cd 3d-rotating-card-ui-100daysofcode
    
  2. Open the HTML file:

    open index.html


πŸš€ Usage

  1. Open the page in your browser.
  2. Click the card to flip it.
  3. Click again to flip it back.

You can customize:

  • Card content (front/back)
  • Background gradients
  • Flip direction (Y ↔️ X) in style.css

🀝 Contributing

Feel free to fork, improve, or customize!

  1. Fork this repository
  2. Create a new branch
  3. Make your changes
  4. Submit a Pull Request

πŸ“¬ Contact


πŸ“„ License

This project is licensed under the MIT License and is available for use under the MIT License.

About

3D Rotating Card UI using pure HTML, CSS & JavaScript! > Click the card and it flips with a smooth 3D animation to reveal the back side. > Great for portfolios, testimonials, pricing blocks, flashcards, and more. > No libraries. Just clean, modern front-end magic πŸ’« > Try it, customize it, flip it your way

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published