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

<div class="container"> <div class="row"> <div class="col-sm-6 col-md-6"> <div class="alert-message alert-message-success"> <h4> Alert Message Success</h4> <p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.<strong> strong message</strong>. <a href="http://www.jquery2dotnet.com/2013/07/cool-notification-css-style.html"> Cool Notification Css Style</a></p> </div> </div> <div class="col-sm-6 col-md-6"> <div class="alert-message alert-message-danger"> <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> </div> <div class="row"> <div class="col-sm-6 col-md-6"> <div class="alert-message alert-message-warning"> <h4> Alert Message Warning</h4> <p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.<strong> strong message</strong>.</p> </div> </div> <div class="col-sm-6 col-md-6"> <div class="alert-message alert-message-info"> <h4> Alert Message Info</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> </div> <div class="row"> <div class="col-sm-6 col-md-6"> <div class="alert-message alert-message-default"> <h4> Alert Message Default</h4> <p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.<strong> strong message</strong>.</p> </div> </div> <div class="col-sm-6 col-md-6"> <div class="alert-message alert-message-notice"> <h4> Alert Message Notice</h4> <p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.<strong> strong message</strong>.</p> </div> </div> </div> </div>
.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; }

Similar snippets: See More


Comments:

comments powered by Disqus