|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | + <head> |
| 4 | + <!-- Required meta tags --> |
| 5 | + <meta charset="utf-8" /> |
| 6 | + <title>Intro.js</title> |
| 7 | + <meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 8 | + |
| 9 | + <!-- Bootstrap CSS --> |
| 10 | + <link |
| 11 | + href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0/dist/css/bootstrap.min.css" |
| 12 | + rel="stylesheet" |
| 13 | + integrity="sha384-wEmeIV1mKuiNpC+IOBjI7aAzPcEZeedi5yW5f2yOq55WWLwNGmvvx4Um1vskeMj0" |
| 14 | + crossorigin="anonymous" |
| 15 | + /> |
| 16 | + |
| 17 | + <link href="./dist/introjs.css" rel="stylesheet" /> |
| 18 | + |
| 19 | + <link rel="preconnect" href="https://fonts.gstatic.com" /> |
| 20 | + <link |
| 21 | + href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" |
| 22 | + rel="stylesheet" |
| 23 | + /> |
| 24 | + |
| 25 | + <style type="text/css"> |
| 26 | + body, |
| 27 | + h1, |
| 28 | + h2, |
| 29 | + h3, |
| 30 | + h4, |
| 31 | + h5, |
| 32 | + h6, |
| 33 | + .h1, |
| 34 | + .h2, |
| 35 | + .h3, |
| 36 | + .h4, |
| 37 | + .h5, |
| 38 | + .h6 { |
| 39 | + font-family: "Roboto" !important; |
| 40 | + } |
| 41 | + </style> |
| 42 | + |
| 43 | + <title>Hello, world!</title> |
| 44 | + </head> |
| 45 | + <body> |
| 46 | + <main> |
| 47 | + <div class="container py-4"> |
| 48 | + <header |
| 49 | + id="fixed-parent" |
| 50 | + class="pb-3 mb-4 border-bottom" |
| 51 | + style="position: fixed" |
| 52 | + > |
| 53 | + <a |
| 54 | + id="fixed" |
| 55 | + href="/" |
| 56 | + class="d-flex align-items-center text-dark text-decoration-none" |
| 57 | + > |
| 58 | + <svg |
| 59 | + xmlns="http://www.w3.org/2000/svg" |
| 60 | + width="40" |
| 61 | + height="32" |
| 62 | + class="me-2" |
| 63 | + viewBox="0 0 118 94" |
| 64 | + role="img" |
| 65 | + > |
| 66 | + <title>Bootstrap</title> |
| 67 | + <path |
| 68 | + fill-rule="evenodd" |
| 69 | + clip-rule="evenodd" |
| 70 | + d="M24.509 0c-6.733 0-11.715 5.893-11.492 12.284.214 6.14-.064 14.092-2.066 20.577C8.943 39.365 5.547 43.485 0 44.014v5.972c5.547.529 8.943 4.649 10.951 11.153 2.002 6.485 2.28 14.437 2.066 20.577C12.794 88.106 17.776 94 24.51 94H93.5c6.733 0 11.714-5.893 11.491-12.284-.214-6.14.064-14.092 2.066-20.577 2.009-6.504 5.396-10.624 10.943-11.153v-5.972c-5.547-.529-8.934-4.649-10.943-11.153-2.002-6.484-2.28-14.437-2.066-20.577C105.214 5.894 100.233 0 93.5 0H24.508zM80 57.863C80 66.663 73.436 72 62.543 72H44a2 2 0 01-2-2V24a2 2 0 012-2h18.437c9.083 0 15.044 4.92 15.044 12.474 0 5.302-4.01 10.049-9.119 10.88v.277C75.317 46.394 80 51.21 80 57.863zM60.521 28.34H49.948v14.934h8.905c6.884 0 10.68-2.772 10.68-7.727 0-4.643-3.264-7.207-9.012-7.207zM49.948 49.2v16.458H60.91c7.167 0 10.964-2.876 10.964-8.281 0-5.406-3.903-8.178-11.425-8.178H49.948z" |
| 71 | + fill="currentColor" |
| 72 | + ></path> |
| 73 | + </svg> |
| 74 | + <span class="fs-4">Jumbotron example</span> |
| 75 | + </a> |
| 76 | + </header> |
| 77 | + |
| 78 | + <div class="mt-5 p-5 mb-4 bg-light rounded-3"> |
| 79 | + <div class="container-fluid py-5" id="main-section"> |
| 80 | + <h1 class="display-5 fw-bold">Custom jumbotron</h1> |
| 81 | + <p class="col-md-8 fs-4"> |
| 82 | + Using a series of utilities, you can create this jumbotron, just |
| 83 | + like the one in previous versions of Bootstrap. Check out the |
| 84 | + examples below for how you can remix and restyle it to your |
| 85 | + liking. |
| 86 | + </p> |
| 87 | + <button |
| 88 | + class="btn btn-primary btn-lg" |
| 89 | + type="button" |
| 90 | + id="create-div-button" |
| 91 | + onclick="window.createDiv()" |
| 92 | + > |
| 93 | + Create div button |
| 94 | + </button> |
| 95 | + </div> |
| 96 | + </div> |
| 97 | + |
| 98 | + <footer class="pt-3 mt-4 text-muted border-top">© 2021</footer> |
| 99 | + </div> |
| 100 | + </main> |
| 101 | + |
| 102 | + <script |
| 103 | + src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0/dist/js/bootstrap.bundle.min.js" |
| 104 | + integrity="sha384-p34f1UUtsS3wqzfto5wAAmdvj+osOnFyQFpp4Ua3gs/ZVWx6oOypYoCJhGGScy+8" |
| 105 | + crossorigin="anonymous" |
| 106 | + ></script> |
| 107 | + |
| 108 | + <script type="text/javascript"> |
| 109 | + window.createDiv = function () { |
| 110 | + // Create div after some async timeout to emulate http requests |
| 111 | + setTimeout(function () { |
| 112 | + var div = document.createElement("div"); |
| 113 | + div.innerHTML = "Later added div"; |
| 114 | + div.setAttribute("id", "later_added"); |
| 115 | + document.body.appendChild(div); |
| 116 | + }); |
| 117 | + }; |
| 118 | + </script> |
| 119 | + <script type="text/javascript" src="./dist/intro.js"></script> |
| 120 | + </body> |
| 121 | +</html> |
0 commit comments