I'm a Computer Science enthusiast with a keen interest in Maths. I like to tinker with things around me & practise Sahaja Yoga meditation. Do follow me on GitHub https://github.com/Aatmaj-Zephyr
Returning to the tech industry after taking time off to be home with my young children.
I have been sharing what I learn on my blog https://alexnielsen.net/
You're welcome Alex. Asides that, the overlay also makes the modal more visible. If there were many content on the page, the overlay will blur out other contents making the whole focus on the modal itself
Returning to the tech industry after taking time off to be home with my young children.
I have been sharing what I learn on my blog https://alexnielsen.net/
Good, what do you think about improving your example and to add a11y supporting?
Thank you sir. I'll work on including that and update on the codepen 😊
That is just super!
Thank you
Thank you for the great demo. Is the overlay just there so you can close the modal by clicking outstide the modal or does it serve some other purpose?
You're welcome Alex. Asides that, the overlay also makes the modal more visible. If there were many content on the page, the overlay will blur out other contents making the whole focus on the modal itself
yes, that makes sense. thanks again
This has a few accessibility concerns:
why didn't you use html's dialog tag
The dialog tag isn't supported on browsers like Safari. You need to lookout for that 👍🏾
Nice work. Adding some transtitions in so that the modal appearance wouldn't be as abrupt could be a nice touch.
Thank you nice idea Sanjay 👍🏾
Thanks. Works great!
Thank you
thank you, great post
Thanks I appreciate 👍🏾
Well done!
What is a modal?