"Squarespace like modal"
Bootstrap 3.3.0 Snippet by ferrandiaz

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="center"><button data-toggle="modal" data-target="#squarespaceModal" class="btn btn-primary center-block">Click Me</button></div> <!-- line modal --> <div class="modal fade" id="squarespaceModal" tabindex="-1" role="dialog" aria-labelledby="modalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> <h3 class="modal-title" id="lineModalLabel">REPORT #564563952</h3> </div> <div class="modal-body"> Dear User, <br> We inform you that the pictures have been deleted. <br> A part from that, the user has been banned from the site. <br> Best Regards. <br> Admin. </div> </div> </div> </div> </div> </div> </div>
.center { margin-top:50px; } .modal-header { padding-bottom: 5px; } .modal-footer { padding: 0; } .modal-footer .btn-group button { height:40px; border-top-left-radius : 0; border-top-right-radius : 0; border: none; border-right: 1px solid #ddd; } .modal-footer .btn-group:last-child > button { border-right: 0; }

Related: See More


Questions / Comments: