Skip to content

A lightweight, responsive modal popup with smooth fade and slide-up animations using HTML, CSS, and jQuery. Perfect for web apps and mobile-friendly designs.

Notifications You must be signed in to change notification settings

chiragkumar8/smooth-responsive-modal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Smooth Modal Popup (Responsive & Animated)

πŸš€ A lightweight and responsive modal popup built with HTML, CSS, and jQuery.
Supports desktop centered fade-in modals and mobile slide-up modals with smooth animations.

✨ Features

  • 🎨 Modern animation effects (fade for desktop, slide-up for mobile)
  • πŸ“± Fully responsive (desktop & mobile friendly)
  • ⚑ Lightweight - No frameworks, just HTML + CSS + jQuery
  • πŸ”’ Easy to integrate into any project
  • πŸ”— Uses Font Awesome for icons

πŸ“· Preview

Desktop Smooth Responsive Modal Demo

Mobile Smooth Responsive Modal Demo

πŸ“‚ How to Use

  1. Clone this repository: https://github.com/chiragkumar8/smooth-responsive-modal
  2. Open the index.html file in your browser.
  3. Add more modals by duplicating the structure and using data-href.

πŸ“œ Code Explanation

  • HTML defines the modal structure and button.
  • CSS adds:
  • Desktop centered fade-in animations
  • Mobile bottom slide-up animations
  • jQuery handles:
  • Opening the modal (.modal-button)
  • Closing the modal (.modal-close)

πŸ’‘ Use Cases

  • Login/Register popup
  • Alerts or notifications
  • Product quick view modal
  • Mobile app-like "bottom sheet"

πŸš€ Demo

If you host it using GitHub Pages, you can add a live demo link here:
https://github.com/chiragkumar8/smooth-responsive-modal

About

A lightweight, responsive modal popup with smooth fade and slide-up animations using HTML, CSS, and jQuery. Perfect for web apps and mobile-friendly designs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published