https://github.com/gulshancodes/open-clicked-modal
Open the currently clicked Modal using Vanilla JavaScript
https://github.com/gulshancodes/open-clicked-modal
dialog javascript javascript-modal modal
Last synced: over 1 year ago
JSON representation
Open the currently clicked Modal using Vanilla JavaScript
- Host: GitHub
- URL: https://github.com/gulshancodes/open-clicked-modal
- Owner: gulshancodes
- Created: 2022-08-06T17:29:09.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-11T18:42:33.000Z (almost 4 years ago)
- Last Synced: 2025-01-12T10:10:08.072Z (over 1 year ago)
- Topics: dialog, javascript, javascript-modal, modal
- Language: HTML
- Homepage: https://gulshancodes.github.io/open-clicked-modal/
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Open-Clicked-Modal
Open the currently clicked Modal using Vanilla JavaScript
### [Demo Link](https://gulshancodes.github.io/open-clicked-modal/) 🔗
## Features:
- Only opens the currently clicked Modal
- Completely built with HTML, CSS and JavaScript
- No additional libraries or frameworks
- Removes the body-scroll, so that modal content scrolls instead.
- Clicking on the modal "backdrop" will automatically close the modal.
- Pressing the "Escape" key will also close the modal.
## Author:
- **Gulshan Songara** - **[Portfolio Website](https://gulshansongara.netlify.app)**, **[Linkedin](https://www.linkedin.com/in/gulshansongara/)**