"bootstrap 4 box border"
Bootstrap 4.1.1 Snippet by dkstudio

1
2
3
4
5
6
7
8
9
10
11
12
13
14
<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>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
.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;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: