Bootstrap Modal Example
How do I make an bootstrap modal example?
Bootstrap Modal Example. What is a bootstrap modal example? How do you make a bootstrap modal example? This script and codes were developed by Ahsan K. Rathore on 04 July 2022, Monday.
Bootstrap Modal Example - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Bootstrap Modal Example</title> <link rel='stylesheet prefetch' href='http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="wrap"> <h1>Bootstrap Modal Example</h1> <button type="button" class="btn btn-primary" data-toggle="modal" data-target=".bs-example-modal-lg"> Large modal </button>
</div>
<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true"> <div class="modal-dialog modal-lg"> <!-- Modal Content: begins --> <div class="modal-content"> <!-- Modal Header --> <div class="modal-header no-borders"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title" id="gridSystemModalLabel"></h4> </div> <!-- Modal Body --> <div class="modal-body"> <p class="body-message centered"><strong>The email campaign has been successfully sent.</strong></p> </div> <!-- Modal Footer --> <div class="modal-footer no-borders"> <button type="button" class="btn btn-primary" data-dismiss="modal">Close</button> </div> </div> <!-- Modal Content: ends --> </div>
</div>
<!---------------------->
<div class="wrap"> <h1>Bootstrap Modal Example</h1> <button type="button" class="btn btn-primary" data-toggle="modal" data-target=".bs-example-modal-lg-new"> Large modal </button>
</div>
<div class="modal fade bs-example-modal-lg-new" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true"> <div class="modal-dialog modal-lg"> <!-- Modal Content: begins --> <div class="modal-content"> <!-- Modal Header --> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title" id="gridSystemModalLabel">Your Headings</h4> </div> <!-- Modal Body --> <div class="modal-body"> <div class="body-message"> <h4>Any Heading</h4> <p>And a paragraph with a full sentence or something else...</p> </div> </div> <!-- Modal Footer --> <div class="modal-footer"> <button type="button" class="btn btn-primary" data-dismiss="modal">Close</button> </div> </div> <!-- Modal Content: ends --> </div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js'></script>
</body>
</html>
Bootstrap Modal Example - Script Codes CSS Codes
.wrap { padding: 15px; }
h1 { font-size: 28px; }
h4,
modal-title { font-size: 18px; font-weight: bold; }
.no-borders { border: 0px; }
.body-message { font-size: 18px; }
.centered { text-align: center; }
.btn-primary { background-color: #2086c1; border-color: transparent; outline: none; border-radius: 8px; font-size: 15px; padding: 10px 25px; }
.btn-primary:hover { background-color: #2086c1; border-color: transparent; }
.btn-primary:focus { outline: none; }
Developer | Ahsan K. Rathore |
Username | ahsanrathore |
Uploaded | July 04, 2022 |
Rating | 3 |
Size | 2,183 Kb |
Views | 38,456 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Product Dashboard Initial Layout | 3,376 Kb |
Get a Quote Widget for Taxi Services in UK | 3,746 Kb |
Full Calendar - Isotope | 2,895 Kb |
Google Map Customized InfoWindow Hack | 3,727 Kb |
Select Previous Value of Dropdown on Custom Click Button | 2,690 Kb |
A Pen by Ahsan K. Rathore | 2,027 Kb |
SVG Radar Animation with Radio Waves Alert | 2,753 Kb |
Responsive Mega Menu - CSS3 | 4,373 Kb |
Animated Bar Charts | 3,129 Kb |
Responsive Layout with Flexbox | 1,831 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Z-index demo | Kblh | 1,534 Kb |
BabyStore | Pablo-Ai | 3,807 Kb |
Falling Down the Rabbit Hole | Rachelnabors | 4,578 Kb |
Slide In Panel | Vikvarg | 2,811 Kb |
Portfolio page | Bhavya_j | 2,804 Kb |
How to add Css Fold Notes In Blogger By Askwithloud.com | Askwithloud | 2,280 Kb |
CSS3 Animated buttons | Cguillou | 3,737 Kb |
Comparison of Roboto Draft vs Roboto | Jxnblk | 2,880 Kb |
PNotify Demo | Adittmar | 1,731 Kb |
Banner Ad | Raquellorenzana | 4,172 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!