Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

::backdrop is well supported #34076

Merged
merged 7 commits into from
Jun 13, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
link showmodal
  • Loading branch information
estelle committed Jun 12, 2024
commit 12f788186a9b5fb41f94cbc4c03d48cb31122ea6
2 changes: 1 addition & 1 deletion files/en-us/web/css/_doublecolon_backdrop/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ We add a background to the backdrop, creating a colorful donut using [CSS gradie

#### JavaScript

The dialog is opened modally using the .showModal() method and closed using the .close() method.
The dialog is opened modally using the [`.showModal()`](/en-US/docs/Web/API/HTMLDialogElement/showModal) method and closed using the [`.close()`](/en-US/docs/Web/API/HTMLDialogElement/close) method.

```js
const dialog = document.querySelector("dialog");
Expand Down