Day 15: the :modal pseudo-class

from blog Manuel Matuzović - Blog, | ↗ original
↗ original
There are two methods you can use to open a element, show() and showModal(). show() opens a dialog on top of the rest of the content, but you can still interact with content beneath. showModal() opens a modal dialog with a backdrop on top of the rest of the content, and you can’t interact with the rest of the page.You can use the :modal...