Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Success Message Pop Up Bootstrap Modal"
Bootstrap 4.0.0 Snippet by
Ranjith Ramesh
4.0.0
modal
Preview
HTML
CSS
JS
View Full Screen
Fork
Fork this
83.7K
 
9 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!--Model Popup starts--> <div class="container"> <div class="row"> <a class="btn btn-primary" data-toggle="modal" href="#ignismyModal">open Popup</a> <div class="modal fade" id="ignismyModal" role="dialog"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label=""><span>×</span></button> </div> <div class="modal-body"> <div class="thank-you-pop"> <img src="http://goactionstations.co.uk/wp-content/uploads/2017/03/Green-Round-Tick.png" alt=""> <h1>Thank You!</h1> <p>Your submission is received and we will contact you soon</p> <h3 class="cupon-pop">Your Id: <span>12345</span></h3> </div> </div> </div> </div> </div> </div> </div> <!--Model Popup ends-->
/*--thank you pop starts here--*/ .thank-you-pop{ width:100%; padding:20px; text-align:center; } .thank-you-pop img{ width:76px; height:auto; margin:0 auto; display:block; margin-bottom:25px; } .thank-you-pop h1{ font-size: 42px; margin-bottom: 25px; color:#5C5C5C; } .thank-you-pop p{ font-size: 20px; margin-bottom: 27px; color:#5C5C5C; } .thank-you-pop h3.cupon-pop{ font-size: 25px; margin-bottom: 40px; color:#222; display:inline-block; text-align:center; padding:10px 20px; border:2px dashed #222; clear:both; font-weight:normal; } .thank-you-pop h3.cupon-pop span{ color:#03A9F4; } .thank-you-pop a{ display: inline-block; margin: 0 auto; padding: 9px 20px; color: #fff; text-transform: uppercase; font-size: 14px; background-color: #8BC34A; border-radius: 17px; } .thank-you-pop a i{ margin-right:5px; color:#fff; } #ignismyModal .modal-header{ border:0px; } /*--thank you pop ends here--*/
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76