To enhance the layout, ensure to include width:50%;
in both .nav-tabs li
and .base-block
.nav-tabs {
display: flex;
flex-wrap: wrap;
overflow:hidden;/*added*/
}
.nav-tabs li {
box-shadow: -25px 0 0 -23px gray, 0 25px 0 -23px gray;/*update*/
padding: 50px;
width:50%;
}
#container .nav-tabs {
background-image: image(bg-line-bar.png);
width: auto;
height: auto;
}
...
...
...
#container .nav-tabs>li.active>a {
border: none;
}
.block {
width: 203px;
height: 90px;
...
}
...
...
...
.base-block {
display: inline-block;
height: 120px;
...
}
.base-block h1,
h4 {
color: #000000;
}
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css">
<ul class="nav nav-tabs" role="tablist">
...
...
...
...
</ul>
<!--Menu Part 02-->
<div class="tab-content">
...
...
...
</div>