title: Bootstrap toast moves all elements
body: <p>I am developing a website and would like a bootstrap toast to appear in the top right corner which already happens however I would the toast to appear above the carousel but the toast instead moves all the elements and leaves a big gray area as show in the picture.</p>
  
  <p><a href="https://i.stack.imgur.com/PG2L6.png" rel="noreferrer"><img src="https://i.stack.imgur.com/PG2L6.png" alt="Screen Shot"></a></p>
  
  <p>I would like it to hover over the content as like the example in the placement section of <a href="https://getbootstrap.com/docs/4.3/components/toasts/" rel="noreferrer">https://getbootstrap.com/docs/4.3/components/toasts/</a></p>
  
  <p>Here is the code for my toast:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div aria-live="polite" aria-atomic="true" style="position: relative; min-height: 200px;"&gt;
    &lt;div class="toast" style="position: absolute; top: 0; right: 0;" data-autohide="false"&gt;
      &lt;div class="toast-header"&gt;
        &lt;strong class="mr-auto"&gt;Bootstrap&lt;/strong&gt;
        &lt;small&gt;11 mins ago&lt;/small&gt;
        &lt;button type="button" class="ml-2 mb-1 close" data-dismiss="toast" aria-label="Close"&gt;
                    &lt;span aria-hidden="true"&gt;&amp;times;&lt;/span&gt;
                  &lt;/button&gt;
      &lt;/div&gt;
      &lt;div class="toast-body"&gt;
        Hello, world! This is a toast message.
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I hope someone can help:)</p>
  
  <p>Edit:</p>
  
  <p>To clarfiy this is what I would like to happen (photoshopped):</p>
  
  <p><a href="https://i.stack.imgur.com/LXg1Q.png" rel="noreferrer"><img src="https://i.stack.imgur.com/LXg1Q.png" alt="enter image description here"></a></p>
  
  <p>And this is what is happening:</p>
  
  <p><a href="https://i.stack.imgur.com/agjRn.png" rel="noreferrer"><img src="https://i.stack.imgur.com/agjRn.png" alt="enter image description here"></a></p>
  
  <p>Full code is below:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;html lang="en"&gt;
  
  &lt;head&gt;
    &lt;meta charset="utf-8"&gt;
  
    &lt;title&gt;Handmade Studios&lt;/title&gt;
    &lt;meta name="description" content="Handmade Studios is an independent game, logo, web, video and sound design corporation."&gt;
    &lt;meta name="author" content="Alexander Hawking"&gt;
  
    &lt;link rel="stylesheet" href="styles.css"&gt;
  
  
    &lt;link rel="shortcut icon" href="favicon.ico" type="image/x-icon"&gt;
  
    &lt;link href="https://fonts.googleapis.com/css?family=Roboto&amp;display=swap" rel="stylesheet"&gt;
  
    &lt;link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"&gt;
  
  &lt;/head&gt;
  
  &lt;body style="background-color: #2D2D2D; font-family: 'Roboto', sans-serif;"&gt;
    &lt;nav class="navbar navbar-expand-lg sticky-top navbar-dark" style="background-color: #212121;"&gt;
      &lt;a class="navbar-brand" href="index.html" style="text-shadow: 0.2px 0 0 currentColor;"&gt;Handmade Studios&lt;/a&gt;
      &lt;button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"&gt;
              &lt;span class="navbar-toggler-icon"&gt;&lt;/span&gt;
          &lt;/button&gt;
      &lt;div class="collapse navbar-collapse" id="navbarNav"&gt;
        &lt;ul class="navbar-nav"&gt;
          &lt;li class="nav-item"&gt;
            &lt;a class="nav-link" href="#cards"&gt;Services&lt;/a&gt;
          &lt;/li&gt;
          &lt;li class="nav-item"&gt;
            &lt;a class="nav-link" href="#projects"&gt;Projects&lt;/a&gt;
          &lt;/li&gt;
          &lt;li class="nav-item"&gt;
            &lt;a class="nav-link" href="#dave"&gt;Dave&lt;/a&gt;
          &lt;/li&gt;
          &lt;li class="nav-item"&gt;
            &lt;a class="nav-link" href="contact.html"&gt;Contact&lt;/a&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/div&gt;
    &lt;/nav&gt;
  
    &lt;div style="position: relative;"&gt;
      &lt;div class="toast" data-autohide="false" style="position: absolute; top: 0; right: 0;"&gt;
        &lt;div class="toast-header"&gt;
          &lt;svg class=" rounded mr-2" width="20" height="20" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img"&gt;
                      &lt;rect fill="#007aff" width="100%" height="100%" /&gt;&lt;/svg&gt;
          &lt;strong class="mr-auto"&gt;Bootstrap&lt;/strong&gt;
          &lt;small class="text-muted"&gt;11 mins ago&lt;/small&gt;
          &lt;button type="button" class="ml-2 mb-1 close" data-dismiss="toast" aria-label="Close"&gt;
                      &lt;span aria-hidden="true"&gt;&amp;times;&lt;/span&gt;
                  &lt;/button&gt;
        &lt;/div&gt;
        &lt;div class="toast-body"&gt;
          Hello, world! This is a toast message.
        &lt;/div&gt;
      &lt;/div&gt;
  
      &lt;div class="bd-example" style="padding-bottom: 2vw"&gt;
  
        &lt;div id="carouselExampleCaptions" class="carousel slide" data-ride="carousel"&gt;
          &lt;ol class="carousel-indicators"&gt;
            &lt;li data-target="#carouselExampleCaptions" data-slide-to="0" class="active"&gt;&lt;/li&gt;
            &lt;li data-target="#carouselExampleCaptions" data-slide-to="1"&gt;&lt;/li&gt;
            &lt;li data-target="#carouselExampleCaptions" data-slide-to="2"&gt;&lt;/li&gt;
            &lt;li data-target="#carouselExampleCaptions" data-slide-to="3"&gt;&lt;/li&gt;
            &lt;li data-target="#carouselExampleCaptions" data-slide-to="4"&gt;&lt;/li&gt;
            &lt;li data-target="#carouselExampleCaptions" data-slide-to="5"&gt;&lt;/li&gt;
          &lt;/ol&gt;
          &lt;div class="carousel-inner"&gt;
            &lt;div class="carousel-item active"&gt;
              &lt;img src="logoslide.png" class="d-block w-100" alt="..."&gt;
              &lt;div class="carousel-caption d-none d-md-block"&gt;
                &lt;h1 style="text-shadow: 1px 0 0 currentColor;"&gt;Logo Design&lt;/h1&gt;
                &lt;p&gt;Enquire below&lt;/p&gt;
              &lt;/div&gt;
            &lt;/div&gt;
            &lt;div class="carousel-item"&gt;
              &lt;img src="videoslide.png" class="d-block w-100" alt="..."&gt;
              &lt;div class="carousel-caption d-none d-md-block"&gt;
                &lt;h1 style="text-shadow: 1px 0 0 currentColor;"&gt;Video Effects and Editing&lt;/h1&gt;
                &lt;p&gt;Enquire below&lt;/p&gt;
              &lt;/div&gt;
            &lt;/div&gt;
            &lt;div class="carousel-item"&gt;
              &lt;img src="musicslide.png" class="d-block w-100" alt="..."&gt;
              &lt;div class="carousel-caption d-none d-md-block"&gt;
                &lt;h1 style="text-shadow: 1px 0 0 currentColor;"&gt;Music Production&lt;/h1&gt;
                &lt;p&gt;Check out my soundcloud&lt;/p&gt;
              &lt;/div&gt;
            &lt;/div&gt;
            &lt;div class="carousel-item"&gt;
              &lt;img src="gameslide.png" class="d-block w-100" alt="..."&gt;
              &lt;div class="carousel-caption d-none d-md-block"&gt;
                &lt;h1 style="text-shadow: 1px 0 0 currentColor;"&gt;Game Design&lt;/h1&gt;
                &lt;p&gt;Check out my itch&lt;/p&gt;
              &lt;/div&gt;
            &lt;/div&gt;
            &lt;div class="carousel-item"&gt;
              &lt;img src="codeslide.png" class="d-block w-100" alt="..."&gt;
              &lt;div class="carousel-caption d-none d-md-block"&gt;
                &lt;h1 style="text-shadow: 1px 0 0 currentColor;"&gt;Web Design&lt;/h1&gt;
                &lt;p&gt;Enquire below&lt;/p&gt;
              &lt;/div&gt;
            &lt;/div&gt;
            &lt;div class="carousel-item"&gt;
              &lt;img src="photoslide.png" class="d-block w-100" alt="..."&gt;
              &lt;div class="carousel-caption d-none d-md-block"&gt;
                &lt;h1 style="text-shadow: 1px 0 0 currentColor;"&gt;Photo Editing&lt;/h1&gt;
                &lt;p&gt;Enquire below&lt;/p&gt;
              &lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
          &lt;a class="carousel-control-prev" href="#carouselExampleCaptions" role="button" data-slide="prev"&gt;
            &lt;span class="carousel-control-prev-icon" aria-hidden="true"&gt;&lt;/span&gt;
            &lt;span class="sr-only"&gt;Previous&lt;/span&gt;
          &lt;/a&gt;
          &lt;a class="carousel-control-next" href="#carouselExampleCaptions" role="button" data-slide="next"&gt;
            &lt;span class="carousel-control-next-icon" aria-hidden="true"&gt;&lt;/span&gt;
            &lt;span class="sr-only"&gt;Next&lt;/span&gt;
          &lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;
  
    &lt;/div&gt;
  
    &lt;div class="container-fluid" id="cards"&gt;
  
      &lt;div class="card-columns"&gt;
        &lt;div class="card text-white" style="background-color: #702632"&gt;
          &lt;blockquote class="blockquote card-body"&gt;
            &lt;p&gt;sheen estevez&lt;/p&gt;
            &lt;footer class="blockquote-footer"&gt;
              &lt;small class="text-muted"&gt;
                              Me, &lt;cite title="Source Title"&gt;the creator&lt;/cite&gt;
                          &lt;/small&gt;
            &lt;/footer&gt;
          &lt;/blockquote&gt;
        &lt;/div&gt;
  
        &lt;div class="card text-white " style="background-color: #40434E;"&gt;
          &lt;img src="music.png" class="card-img-top" alt="music img"&gt;
          &lt;div class="card-body"&gt;
            &lt;h5 class="card-title"&gt;Music&lt;/h5&gt;
            &lt;p class="card-text"&gt;
              I am fairly new to music production but have put out a couple of tracks. I make mostly lofi so if you're into that go give them a listen and maybe even a like.
            &lt;/p&gt;
            &lt;a href="https://soundcloud.com/user-434058324" class="btn btn-dark"&gt;My Soundcloud&lt;/a&gt;
          &lt;/div&gt;
        &lt;/div&gt;
  
        &lt;div class="card text-white" style="background-color: #702632"&gt;
          &lt;blockquote class="blockquote card-body"&gt;
            &lt;p&gt;The history of innovation is the story of ideas that seemed dumb at the time.&lt;/p&gt;
            &lt;footer class="blockquote-footer"&gt;
              &lt;small class="text-muted"&gt;
                                  &lt;cite title="Source Title"&gt;Andy Dunn&lt;/cite&gt;
                              &lt;/small&gt;
            &lt;/footer&gt;
          &lt;/blockquote&gt;
        &lt;/div&gt;
  
        &lt;div class="card text-white " style="background-color: #40434E;"&gt;
          &lt;img src="code.png" class="card-img-top " alt="code img"&gt;
          &lt;div class="card-body"&gt;
            &lt;h5 class="card-title"&gt;Web Design&lt;/h5&gt;
            &lt;p class="card-text"&gt;
              I can code you a website, a chrome extension or anything you might need. I use javascript, jQuery, python 2 and 3, html, CSS, SCSS and SASS. If you would like a website or anything programmable contact me.
            &lt;/p&gt;
            &lt;a href="contact.html" class="btn btn-dark"&gt;Enquire about a website&lt;/a&gt;
          &lt;/div&gt;
        &lt;/div&gt;
  
        &lt;div class="card" style="background-color: #702632"&gt;
          &lt;blockquote class="blockquote card-body text-white"&gt;
            &lt;p&gt;The more you know, the less you don't know.&lt;/p&gt;
            &lt;footer class="blockquote-footer"&gt;
              &lt;small class="text-muted"&gt;
                          An inspirational human from &lt;cite title="Source Title"&gt;terra australis&lt;/cite&gt;
                          &lt;/small&gt;
            &lt;/footer&gt;
          &lt;/blockquote&gt;
        &lt;/div&gt;
  
        &lt;div class="card text-white " style="background-color: #40434E;"&gt;
          &lt;img src="video.png" class="card-img-top" alt="video img"&gt;
          &lt;div class="card-body"&gt;
            &lt;h5 class="card-title"&gt;Video&lt;/h5&gt;
            &lt;p class="card-text"&gt;
              I have been editing videos for a number of years and can do everything from stop-motion to vfx and can do some basic 3D models. I use mainly after effects, premeire pro, stopmotion and various modelling programs. If you would like to me to help with your
              video project contact me.
            &lt;/p&gt;
            &lt;a href="contact.html" class="btn btn-dark"&gt;Enquire about a video&lt;/a&gt;
          &lt;/div&gt;
        &lt;/div&gt;
  
        &lt;div class="card text-white" style="background-color: #702632"&gt;
          &lt;blockquote class="blockquote card-body"&gt;
            &lt;p&gt;I like smart jokes, I like dumb jokes, and I like dumb jokes done smartly.&lt;/p&gt;
            &lt;footer class="blockquote-footer"&gt;
              &lt;small class="text-muted"&gt;
                                  &lt;cite title="Source Title"&gt;Mike Myers&lt;/cite&gt;
                              &lt;/small&gt;
            &lt;/footer&gt;
          &lt;/blockquote&gt;
        &lt;/div&gt;
  
  
        &lt;div class="card text-white " style="background-color: #40434E;"&gt;
          &lt;img src="logo.png" class="card-img-top" alt="logo img"&gt;
          &lt;div class="card-body"&gt;
            &lt;h5 class="card-title"&gt;Logos&lt;/h5&gt;
            &lt;p class="card-text"&gt;
              I can design a beautiful logo for your business. I use adobe illustrator and photoshop and can also edit any photos. If you're interested in a logo contact me.
            &lt;/p&gt;
            &lt;a href="contact.html" class="btn btn-dark"&gt;Enquire about a logo&lt;/a&gt;
          &lt;/div&gt;
        &lt;/div&gt;
  
        &lt;div class="card text-white" style="background-color: #702632"&gt;
          &lt;blockquote class="blockquote card-body"&gt;
            &lt;p&gt;Grass grows, birds fly, sun shines, and brother, I hurt people.&lt;/p&gt;
            &lt;footer class="blockquote-footer"&gt;
              &lt;small class="text-muted"&gt;
                              Scout, &lt;cite title="Source Title"&gt;TF2&lt;/cite&gt;
                          &lt;/small&gt;
            &lt;/footer&gt;
          &lt;/blockquote&gt;
        &lt;/div&gt;
  
        &lt;div class="card text-white" style="background-color: #40434E;"&gt;
          &lt;img src="itch.png" class="card-img-top" alt="itch img"&gt;
          &lt;div class="card-body"&gt;
            &lt;h5 class="card-title"&gt;Games&lt;/h5&gt;
            &lt;p class="card-text"&gt;
              I have developed a number of games which are all available for download on itch.io. I have been developing games for about three years and have received over 1'200 downloads. All my games are available for free on itch but I won't complain if you want
              to donate.
            &lt;/p&gt;
            &lt;a href="https://alexanderhawking.itch.io/" class="btn btn-dark"&gt;My itch.io&lt;/a&gt;
          &lt;/div&gt;
        &lt;/div&gt;
  
        &lt;div class="card" style="background-color: #702632"&gt;
          &lt;blockquote class="blockquote card-body text-white"&gt;
            &lt;p&gt;Here come the oct-train!&lt;/p&gt;
            &lt;footer class="blockquote-footer"&gt;
              &lt;small class="text-muted"&gt;
                              Octane &lt;cite title="Source Title"&gt;apex legends&lt;/cite&gt;
                          &lt;/small&gt;
            &lt;/footer&gt;
          &lt;/blockquote&gt;
        &lt;/div&gt;
  
  
        &lt;div class="card text-white" style="background-color: #40434E;"&gt;
          &lt;img src="photo.png" class="card-img-top" alt="itch img"&gt;
          &lt;div class="card-body"&gt;
            &lt;h5 class="card-title"&gt;Photos&lt;/h5&gt;
            &lt;p class="card-text"&gt;
              I can edit your photos. Whether you just want a meme or a photo enhanced or edited I can help. If you want a photo edited contact me/
            &lt;/p&gt;
            &lt;a href="contact.html" class="btn btn-dark"&gt;Enquire about a photo&lt;/a&gt;
          &lt;/div&gt;
        &lt;/div&gt;
  
      &lt;/div&gt;
  
    &lt;/div&gt;
  
    &lt;div class="jumbotron" style="color: #EBEBEB; background-color: #232325;" id="projects"&gt;
      &lt;h1 class="display-4"&gt;Current Projects &lt;span class="badge badge-pill" style="background-color: #702632;"&gt;New&lt;/span&gt;&lt;/h1&gt;
      &lt;p class="lead"&gt;Here are some of the current things that I am workng on&lt;/p&gt;
      &lt;hr class="my-4"&gt;
      &lt;div class="card-deck"&gt;
  
        &lt;div class="card border-1" style="background-color:#212121; "&gt;
          &lt;img src="abl.png" class="card-img-top" alt="..."&gt;
          &lt;div class="card-body"&gt;
            &lt;h5 class="card-title"&gt;Learning Ableton Live 10&lt;/h5&gt;
            &lt;p class="card-text"&gt;Ableton Live 10 is a hard to use but powerful DAW. I have been using it for around a month and have made a couple of tracks which are on my soundcloud. Feel free to check them out and give me some feedback.&lt;/p&gt;
            &lt;a href="https://soundcloud.com/user-434058324" class="btn btn-dark"&gt;My Soundcloud&lt;/a&gt;
          &lt;/div&gt;
        &lt;/div&gt;
  
        &lt;div class="card border-1" style="background-color:#212121; "&gt;
          &lt;img src="website.png" class="card-img-top" alt="..."&gt;
          &lt;div class="card-body"&gt;
            &lt;h5 class="card-title"&gt;This Website&lt;/h5&gt;
            &lt;p class="card-text"&gt;This website is still currently a work in progress and is built with bootstrap, html, css and a little bit of jQuery. If you have any recommendations contact me.&lt;/p&gt;
            &lt;a href="contact.html" class="btn btn-dark"&gt;Contact&lt;/a&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
  
    &lt;/div&gt;
  
    &lt;div class="jumbotron" style="color: #EBEBEB; background-color: #232325;" id="dave"&gt;
      &lt;h1 class="display-4"&gt;Dave&lt;/h1&gt;
      &lt;p class="lead" style="font-style: italic;"&gt;The incredible assistant&lt;/p&gt;
      &lt;hr class="my-4"&gt;
      &lt;div class="card-deck"&gt;
  
        &lt;div class="card border-1" style="background-color:#212121; "&gt;
          &lt;img src="dave.png" class="card-img-top" alt="..."&gt;
          &lt;div class="card-body"&gt;
            &lt;h5 class="card-text"&gt;Dave is a text-based personal assistant for your terminal built entirely in python 3 with a little bit off apple script. Dave was built to serve and can currently search Wikipedia, get the weather, solve maths equations and tell jokes. Further
              updates will include more capabilities. There is currently no way to download Dave but if you would like him installed on your computer contact me. &lt;br&gt;&lt;br&gt;If you interested in anything coding related I have a stack overflow where you can
              aks questions, see the ones I've asked and the ones I've answered&lt;/h5&gt;
            &lt;a style="margin-top: 1vw;" href="https://stackoverflow.com/users/9868018/alex-hawking" class="btn btn-dark"&gt;My Stack Overflow&lt;/a&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
  
    &lt;/div&gt;
  
  
    &lt;div class="container-fluid" style="background-color: #373639; padding-top: 1.5vw; padding-bottom: 1.5vw; color: #74767E"&gt;
      &lt;h6 class="text-center" style="font-style: italic;"&gt;Designed by Alex Hawking in Australia : Handmade Studios
      &lt;/h6&gt;
    &lt;/div&gt;
  
  
    &lt;script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"&gt;&lt;/script&gt;
    &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"&gt;&lt;/script&gt;
    &lt;script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"&gt;&lt;/script&gt;
    &lt;script&gt;
      $('.toast').toast('show');
    &lt;/script&gt;
  &lt;/body&gt;
  
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>The above is the most recent snippet</p>