An open API service indexing awesome lists of open source software.

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

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/)**