"Bootstrap Calllouts"
Bootstrap 4.0.0 Snippet by cultivationdigital

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="bd-callout bd-callout-default"> <h4>Default Callout</h4> This is a default callout. </div> <div class="bd-callout bd-callout-primary"> <h4>Primary Callout</h4> This is a primary callout. </div> <div class="bd-callout bd-callout-success"> <h4>Success Callout</h4> This is a success callout. </div> <div class="bd-callout bd-callout-info"> <h4>Info Callout</h4> This is an info callout. </div> <div class="bd-callout bd-callout-warning"> <h4>Warning Callout</h4> This is a warning callout. </div> <div class="bd-callout bd-callout-danger"> <h4>Danger Callout</h4> This is a danger callout. </div> </div>
.bd-callout { padding: 1.25rem; margin-top: 1.25rem; margin-bottom: 1.25rem; border: 1px solid #eee; border-left-width: .25rem; border-radius: .25rem } .bd-callout h4 { margin-top: 0; margin-bottom: .25rem } .bd-callout p:last-child { margin-bottom: 0 } .bd-callout code { border-radius: .25rem } .bd-callout+.bd-callout { margin-top: -.25rem } .bd-callout-info { border-left-color: #5bc0de } .bd-callout-info h4 { color: #5bc0de } .bd-callout-warning { border-left-color: #f0ad4e } .bd-callout-warning h4 { color: #f0ad4e } .bd-callout-danger { border-left-color: #d9534f } .bd-callout-danger h4 { color: #d9534f } .bd-callout-primary{ border-left-color: #007bff } .bd-callout-primaryh4 { color: #007bff } .bd-callout-success{ border-left-color: #28a745 } .bd-callout-successh4 { color: #28a745 } .bd-callout-default{ border-left-color: #6c757d } .bd-callout-defaulth4 { color: #6c757d }

Related: See More


Questions / Comments: