"successful page modal"
Bootstrap 4.1.1 Snippet by priti26

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/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 ----------> <button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#success_tic">Open Modal</button> <!-- Modal --> <div id="success_tic" class="modal fade" role="dialog"> <div class="modal-dialog"> <!-- Modal content--> <div class="modal-content"> <a class="close" href="#" data-dismiss="modal">×</a> <div class="page-body"> <div class="head"> <h3 style="margin-top:5px;">A record of the form submitted is sent to your email id *** for future reference</h3> </div> <h1 style="text-align:center;"><div class="checkmark-circle"> <div class="background"></div> <div class="checkmark draw"></div> </div><h1> </div> </div> </div> </div>
body{ background-color: #e6e6e6; width: 100%; height: 100%; } #success_tic .page-body{ max-width:70%; background-color:#FFFFFF; margin:20px auto; } #success_tic .page-body .head{ text-align:center; margin-bottom: 20px; } /* #success_tic .tic{ font-size:186px; } */ #success_tic .close{ opacity: 1; position: absolute; right: 0px; font-size: 30px; padding: 3px 15px; margin-bottom: 10px; } #success_tic .checkmark-circle { width: 150px; height: 150px; position: relative; display: inline-block; vertical-align: top; } .checkmark-circle .background { width: 150px; height: 150px; border-radius: 50%; background: #1ab394; position: absolute; } #success_tic .checkmark-circle .checkmark { border-radius: 5px; } #success_tic .checkmark-circle .checkmark.draw:after { -webkit-animation-delay: 300ms; -moz-animation-delay: 300ms; animation-delay: 300ms; -webkit-animation-duration: 1s; -moz-animation-duration: 1s; animation-duration: 1s; -webkit-animation-timing-function: ease; -moz-animation-timing-function: ease; animation-timing-function: ease; -webkit-animation-name: checkmark; -moz-animation-name: checkmark; animation-name: checkmark; -webkit-transform: scaleX(-1) rotate(135deg); -moz-transform: scaleX(-1) rotate(135deg); -ms-transform: scaleX(-1) rotate(135deg); -o-transform: scaleX(-1) rotate(135deg); transform: scaleX(-1) rotate(135deg); -webkit-animation-fill-mode: forwards; -moz-animation-fill-mode: forwards; animation-fill-mode: forwards; } #success_tic .checkmark-circle .checkmark:after { opacity: 1; height: 75px; width: 37.5px; -webkit-transform-origin: left top; -moz-transform-origin: left top; -ms-transform-origin: left top; -o-transform-origin: left top; transform-origin: left top; border-right: 15px solid #fff; border-top: 15px solid #fff; border-radius: 2.5px !important; content: ''; left: 35px; top: 80px; position: absolute; } @-webkit-keyframes checkmark { 0% { height: 0; width: 0; opacity: 1; } 20% { height: 0; width: 37.5px; opacity: 1; } 40% { height: 75px; width: 37.5px; opacity: 1; } 100% { height: 75px; width: 37.5px; opacity: 1; } } @-moz-keyframes checkmark { 0% { height: 0; width: 0; opacity: 1; } 20% { height: 0; width: 37.5px; opacity: 1; } 40% { height: 75px; width: 37.5px; opacity: 1; } 100% { height: 75px; width: 37.5px; opacity: 1; } } @keyframes checkmark { 0% { height: 0; width: 0; opacity: 1; } 20% { height: 0; width: 37.5px; opacity: 1; } 40% { height: 75px; width: 37.5px; opacity: 1; } 100% { height: 75px; width: 37.5px; opacity: 1; } }

Related: See More


Questions / Comments: