"5 column Flex Responsive "
Bootstrap 4.1.1 Snippet by lancevercetti

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
27
28
29
30
31
32
33
34
35
36
37
<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 ---------->
<!DOCTYPE html>
<html>
<head>
<title>5 column Flex Responsive </title>
</head>
<body>
<div class="container pt">
<div class="row">
<div class="f-wrapper">
<div class="items"><p>Items</p></div>
<div class="items"><p>Items</p></div>
<div class="items"><p>Items</p></div>
<div class="items"><p>Items</p></div>
<div class="items"><p>Items</p></div>
</div>
<div class="f-wrapper">
<div class="items"><p>Items</p></div>
<div class="items"><p>Items</p></div>
<div class="items"><p>Items</p></div>
<div class="items"><p>Items</p></div>
<div class="items"><p>Items</p></div>
</div>
<div class="f-wrapper">
<div class="items"><p>Items</p></div>
<div class="items"><p>Items</p></div>
<div class="items"><p>Items</p></div>
<div class="items"><p>Items</p></div>
<div class="items"><p>Items</p></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
27
28
29
30
31
32
33
34
35
36
37
body{
margin: 0 auto;
padding: 0;
min-width: 320px;
}
.f-wrapper{
margin: 0 auto;
width: 90%;
margin: 0 auto;
display: flex;
background-color: #585858;
justify-content: space-evenly;
border-radius:100px;
border-bottom: 1px solid #fff;
}
.f-wrapper:last-child{
border-bottom: 0 solid #fff;
}
.items{
color: #fff;
left: 0;
}
.items p{
margin: 15px;
}
.pt{
padding-top: 50px;
}
/*uncomment for odd even*/
/*
.f-wrapper:nth-child(odd){
background-color: #585858;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: