Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
  <dialog>
    <h1>This is a dialog</h1>
    <button id="close">Close</button>
  </dialog>
  <h1>Dialog open close animation</h1>
  <p>Testing a dialog open and close animation using <a href="https://github.com/w3c/csswg-drafts/issues/6429">#6429</a> and <a href="https://github.com/w3c/csswg-drafts/issues/4441">#4441</a>.</p>
  <button id="open">Open</button>
  <div id="log"></div>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
flackrpro
0viewers