index.html 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Confirm</title>
  6. <meta name="description" content="Prompts user to take action">
  7. <link rel="stylesheet" href="../confirm.css">
  8. <!--
  9. - This <style> element is only used for the example code;
  10. - it is not required for the real use case.
  11. -->
  12. <style type="text/css">
  13. html, body {
  14. font-family: sans-serif;
  15. margin: 0;
  16. padding: 0;
  17. font-size: 10px;
  18. background-color: #fff;
  19. }
  20. body {
  21. background: none;
  22. }
  23. </style>
  24. </head>
  25. <body role="application">
  26. <p dir="ltr">
  27. <label>
  28. <input type="checkbox"
  29. onchange="document.documentElement.dir = this.checked ? 'rtl' : 'ltr'">
  30. RTL mode
  31. </label>
  32. </p>
  33. <form role="dialog" data-type="confirm">
  34. <section>
  35. <h1>Confirmation</h1>
  36. <p>Are you sure you want to delete this contact?</p>
  37. </section>
  38. <menu>
  39. <button>Cancel</button>
  40. <button class="danger">Delete</button>
  41. </menu>
  42. </form>
  43. </body>
  44. </html>