"Stylish Bootstrap Alerts"
Bootstrap 4.1.1 Snippet by shahzab

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/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 py-5"> <div class="row"> <div class="col-md-12"> <div class="theme"> <a href="https://1.envato.market/ydVvD">Download Best Theme</a> </div> </div> <div class="col-md-12"> <div class="alert alert-primary" role="alert"> A simple primary alert—check it out! </div> <div class="alert alert-secondary" role="alert"> A simple secondary alert—check it out! </div> <div class="alert alert-success" role="alert"> A simple success alert—check it out! </div> <div class="alert alert-danger" role="alert"> A simple danger alert—check it out! </div> <div class="alert alert-warning" role="alert"> A simple warning alert—check it out! </div> <div class="alert alert-info" role="alert"> A simple info alert—check it out! </div> <div class="alert alert-light" role="alert"> A simple light alert—check it out! </div> <div class="alert alert-dark" role="alert"> A simple dark alert—check it out! </div> </div> </div> </div>
.alert{ border-top-left-radius: 0px; border-top-right-radius: 0px; border-top-width:3px; background-color:#fff; } .theme{ padding:20px 0px; font-size:20px; font-weight:500; }

Related: See More


Questions / Comments: