"Empty Callouts"
Bootstrap 3.3.0 Snippet by Nemra1

<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="container"> <div class="bs-callout bs-callout-primary"><!-- no notes --></div> <div class="bs-callout bs-callout-primary"> <h4>Primary Callout</h4> This is a primary callout. </div> <div class="bs-callout bs-callout-success"> <h4>Success Callout</h4> This is a success callout. </div> <div class="bs-callout bs-callout-info"> <h4>Info Callout</h4> This is an info callout. </div> <div class="bs-callout bs-callout-warning"> <h4>Warning Callout</h4> This is a warning callout. </div> <div class="bs-callout bs-callout-danger"> <h4>Danger Callout</h4> This is a danger callout. </div> </div>
.bs-callout { padding: 20px; margin: 20px 0; border: 1px solid #eee; border-left-width: 5px; border-radius: 3px; } *.bs-callout:empty { padding: 20px; margin: 0px; border: none; } .bs-callout h4 { margin-top: 0; margin-bottom: 5px; } .bs-callout p:last-child { margin-bottom: 0; } .bs-callout code { border-radius: 3px; } .bs-callout+.bs-callout { margin-top: -5px; } .bs-callout-default { border-left-color: #777; } .bs-callout-default h4 { color: #777; } .bs-callout-primary { border-left-color: #428bca; } .bs-callout-primary h4 { color: #428bca; } .bs-callout-success { border-left-color: #5cb85c; } .bs-callout-success h4 { color: #5cb85c; } .bs-callout-danger { border-left-color: #d9534f; } .bs-callout-danger h4 { color: #d9534f; } .bs-callout-warning { border-left-color: #f0ad4e; } .bs-callout-warning h4 { color: #f0ad4e; } .bs-callout-info { border-left-color: #5bc0de; } .bs-callout-info h4 { color: #5bc0de; }

Related: See More


Questions / Comments: