The Most Secure Cross Browser Testing Platform since 2012

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.