Blog

Cross-Browser Dialog

shutterstock_234378844
BLOG / Web Development

Cross-Browser Dialog

Dialog is the method of easily creating custom dialog boxes to display to the user with modal or non-modal options. also includes a `::backdrop` pseudo-element for behind the element.

Browser Support

This feature is currently only supported by Chrome and Opera.

Code Example

You can use Dialog like this:

<dialog open="">
  <p>Greetings, one and all!</p>
</dialog>

More Information

More information can be found here.

Leave your thought here

Your email address will not be published. Required fields are marked *