Hello i was set footer fixed and sticky working fine when i set margin bottom of my content wrapper div but i want content wrapper is full height and also i want footer fix and sticky. i was also try to using margin to padding but overlap my content wrapper to footer so footer all link is not clickable. i have attachment one image what i want red border area is margin part so that margin part i want remove and my content wrapper div is full height.
Thanks in advance.
img {
max-width: 100%;
}
.box {
margin-bottom: 30px;
}
.box .box-content {
padding: 50px 20px;
border: 1px solid gray;
}
footer {
position: fixed;
padding: 50px;
background-color: #232323;
z-index: -1;
bottom: 0;
width: 100%;
}
footer ul {
list-style: none;
padding: 0;
margin: 0;
}
footer ul li a {
text-decoration: none;
color: #fff;
}
footer ul li a:hover {
text-decoration: none;
color: blueviolet;
}
.content-wrapper {
margin-bottom: 196px;
position: relative;
background-color: #fff;
}
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<section class="p-5 content-wrapper">
<div class="container">
<div class="row">
<div class="col-md-4 box text-center">
<a href="#"><img src="http://placekitten.com/1000/1000" alt="" /></a>
<div class="box-content">
<h5 class="mb-3">Lorem ipsum, or lips u m as it i s sometimes fs fsdf</h5>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</p>
<button type="button" class="btn btn-warning">Submit</button>
</div>
</div>
<div class="col-md-4 box text-center">
<a href="#"><img src="http://placekitten.com/1000/1000" alt="" /></a>
<div class="box-content">
<h5 class="mb-3">Lorem ipsum, or lips u m as it i s sometimes fs fsdf</h5>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</p>
<button type="button" class="btn btn-warning">Submit</button>
</div>
</div>
<div class="col-md-4 box text-center">
<a href="#"><img src="http://placekitten.com/1000/1000" alt="" /></a>
<div class="box-content">
<h5 class="mb-3">Lorem ipsum, or lips u m as it i s sometimes fs fsdf</h5>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</p>
<button type="button" class="btn btn-warning">Submit</button>
</div>
</div>
<div class="col-md-4 box text-center">
<a href="#"><img src="http://placekitten.com/1000/1000" alt="" /></a>
<div class="box-content">
<h5 class="mb-3">Lorem ipsum, or lips u m as it i s sometimes fs fsdf</h5>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</p>
<button type="button" class="btn btn-warning">Submit</button>
</div>
</div>
<div class="col-md-4 box text-center">
<a href="#"><img src="http://placekitten.com/1000/1000" alt="" /></a>
<div class="box-content">
<h5 class="mb-3">Lorem ipsum, or lips u m as it i s sometimes fs fsdf</h5>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</p>
<button type="button" class="btn btn-warning">Submit</button>
</div>
</div>
<div class="col-md-4 box text-center">
<a href="#"><img src="http://placekitten.com/1000/1000" alt="" /></a>
<div class="box-content">
<h5 class="mb-3">Lorem ipsum, or lips u m as it i s sometimes fs fsdf</h5>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</p>
<button type="button" class="btn btn-warning">Submit</button>
</div>
</div>
</div>
</div>
</section>
<footer>
<div class="container-fluid">
<div class="row">
<div class="col-md-2">
<ul>
<li><a href="#">Lorem ipsum, or lips</a></li>
<li><a href="#">Lorem ipsum, or lips</a></li>
<li><a href="#">Lorem ipsum, or lips</a></li>
<li><a href="#">Lorem ipsum, or lips</a></li>
</ul>
</div>
<div class="col-md-2">
<ul>
<li><a href="#">Lorem ipsum, or lips</a></li>
<li><a href="#">Lorem ipsum, or lips</a></li>
<li><a href="#">Lorem ipsum, or lips</a></li>
<li><a href="#">Lorem ipsum, or lips</a></li>
</ul>
</div>
<div class="col-md-2">
<ul>
<li><a href="#">Lorem ipsum, or lips</a></li>
<li><a href="#">Lorem ipsum, or lips</a></li>
<li><a href="#">Lorem ipsum, or lips</a></li>
<li><a href="#">Lorem ipsum, or lips</a></li>
</ul>
</div>
<div class="col-md-2">
<ul>
<li><a href="#">Lorem ipsum, or lips</a></li>
<li><a href="#">Lorem ipsum, or lips</a></li>
<li><a href="#">Lorem ipsum, or lips</a></li>
<li><a href="#">Lorem ipsum, or lips</a></li>
</ul>
</div>
<div class="col-md-2">
<ul>
<li><a href="#">Lorem ipsum, or lips</a></li>
<li><a href="#">Lorem ipsum, or lips</a></li>
<li><a href="#">Lorem ipsum, or lips</a></li>
<li><a href="#">Lorem ipsum, or lips</a></li>
</ul>
</div>
<div class="col-md-2">
<ul>
<li><a href="#">Lorem ipsum, or lips</a></li>
<li><a href="#">Lorem ipsum, or lips</a></li>
<li><a href="#">Lorem ipsum, or lips</a></li>
<li><a href="#">Lorem ipsum, or lips</a></li>
</ul>
</div>
</div>
</div>
</footer>