"Alert Messages like the docs"
Bootstrap 3.0.3 Snippet by kimolalekan

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/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="col-sm-6 col-md-6"> <div class="alert-message alert-message-danger"> <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> <h4> Alert Message Danger</h4> <p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. For performance reasons, the Tooltip and Popover data-apis are opt-in, meaning <strong>strong message</strong>.</p> </div> </div>
body{ color:blue; } .alert-message { margin: 20px 0; padding: 20px; border-left: 3px solid #eee; } .alert-message h4 { margin-top: 0; margin-bottom: 5px; } .alert-message p:last-child { margin-bottom: 0; } .alert-message code { background-color: #fff; border-radius: 3px; } .alert-message-success { background-color: #F4FDF0; border-color: #3C763D; } .alert-message-success h4 { color: #3C763D; } .alert-message-danger { background-color: #fdf7f7; border-color: #d9534f; } .alert-message-danger h4 { color: #d9534f; } .alert-message-warning { background-color: #fcf8f2; border-color: #f0ad4e; } .alert-message-warning h4 { color: #f0ad4e; } .alert-message-info { background-color: #f4f8fa; border-color: #5bc0de; } .alert-message-info h4 { color: #5bc0de; } .alert-message-default { background-color: #EEE; border-color: #B4B4B4; } .alert-message-default h4 { color: #000; } .alert-message-notice { background-color: #FCFCDD; border-color: #BDBD89; } .alert-message-notice h4 { color: #444; }

Related: See More


Questions / Comments: