<div class="modal fade" id="exampleModalToggle" aria-hidden="true" aria-labelledby="exampleModalToggleLabel" tabindex="-1">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalToggleLabel">Modal 1</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
Show a second modal and hide this one with the button below.
</div>
<div class="modal-footer">
<button class="btn btn-primary" data-bs-target="#exampleModalToggle2" data-bs-toggle="modal" data-bs-dismiss="modal">Open second modal</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="exampleModalToggle2" aria-hidden="true" aria-labelledby="exampleModalToggleLabel2" tabindex="-1">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalToggleLabel2">Modal 2</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
Hide this modal and show the first with the button below.
</div>
<div class="modal-footer">
<button class="btn btn-primary" data-bs-target="#exampleModalToggle" data-bs-toggle="modal" data-bs-dismiss="modal">Back to first</button>
</div>
</div>
</div>
</div>
<a class="btn btn-primary" data-bs-toggle="modal" href="#exampleModalToggle" role="button">Open first modal</a>
Code Example |
---|
Css :: css grid vs flexbox |
Css :: background color in hex css |
Css :: textarea resize grabber style |
Css :: css properties in html |
Css :: bootstrap z-index |
Css :: css resets |
Css :: how to include css in handlebars |
Css :: htaccess file extension |
Css :: css class and id selector |
Css :: css em |
Css :: media queries iphone 11 |
Css :: apply style to all dives except one |
Css :: tailwind css flex-row-reverse for grid reverse |
Css :: fontawesome trash icon |
Css :: border radius color html |
Css :: scrollheight |
Css :: image align text align in center |
Css :: keyframes scss |
Css :: css transparent background behind text |
Css :: vertical align h1 inside div |
Css :: how to make a html css js editor |
Css :: css not working |
Css :: put a background image in css with absolute layout |
Css :: media queries in scss |
Css :: aclocal: not found |
Css :: foreign key vs indexes |
Css :: text-align transform |
Css :: content url svg css |
Css :: radius to imported icons |
Css :: table vertical align center |