"bootstrap 4 box border"
Bootstrap 4.1.1 Snippet by dkstudio

<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"> <div class="row justify-content-center mt-5"> <article class="col-md-4"> <div class="boxed-md boxed-padded"> <div class="text-center"><span class="h3">Giveaway</span></div> </div> </article> </div> </div>
.boxed-md.boxed-padded { padding-bottom: 13px; padding-left: 20px; padding-right: 20px; } .boxed-md { border: 1px solid #ccc; margin-bottom: 14px; margin-top: 14px; } .boxed-md>.text-center .h3 { background-color: #fff; padding-left: 10px; padding-right: 10px; } .h3 { margin-top: 15px; margin-bottom:18px; font-size: 20px; } .boxed-md>.text-center { margin-top: -12px; margin-bottom: 12px; }

Related: See More


Questions / Comments: