π 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.
- π¨ 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
- Clone this repository: https://github.com/chiragkumar8/smooth-responsive-modal
- Open the
index.html
file in your browser. - Add more modals by duplicating the structure and using
data-href
.
- 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
)
- Login/Register popup
- Alerts or notifications
- Product quick view modal
- Mobile app-like "bottom sheet"
If you host it using GitHub Pages, you can add a live demo link here:
https://github.com/chiragkumar8/smooth-responsive-modal