"Modified Modal Buttons"
Bootstrap 3.0.1 Snippet by suitfits

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.1/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="container"> <div class="row"> <div id="myModal" class="modal fade in" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <a class="btn btn-default" data-dismiss="modal"><span class="glyphicon glyphicon-remove"></span></a> <h4 class="modal-title" id="myModalLabel">Estação Rateira</h4> </div> <div class="modal-body"> <h4>ER #6</h4> <p>Olha que ER bonita. <div class="input"> <input type="text" class="span2"> </div> </p> </div> <div class="modal-footer"> <div class="btn-group"> <a class="btn btn-danger" data-dismiss="modal">Oops</a> <a class="btn btn-primary">Guardar</a> </div> </div> </div><!-- /.modal-content --> </div><!-- /.modal-dalog --> </div><!-- /.modal --> <a data-toggle="modal" href="#myModal" class="btn btn-primary">Abrir ER</a> </div> </div>
.modal .modal-header { border-bottom: none; position: relative; } .modal .modal-header .btn { position: absolute; top: 0; right: 0; margin-top: 0; border-top-left-radius: 0; border-bottom-right-radius: 0; } .modal .modal-footer { border-top: none; padding: 0; } .modal .modal-footer .btn-group > .btn:first-child { border-bottom-left-radius: 0; } .modal .modal-footer .btn-group > .btn:last-child { border-top-right-radius: 0; }

Related: See More


Questions / Comments: