I can't seem to get these divs to stack properly, they keep overlapping. I've tried removing the float and checking every attribute in the code.
I'm not sure where I'm going wrong. The structure of the rest of the page is similar, but this issue only occurs here.
Any assistance would be greatly appreciated. Thank you in advance. I'm still new to Frontend development.
.features-list{
width: 100%;
background-color: #ffffff;
}
.feature-card{
padding-left: 50px;
padding-right: 50px;
background: #ffffff;
border-radius: 4px;
margin-bottom: 10px;
box-shadow: 0 0 3px 1px #e0e0e0
}
.feature-container{
width: 33%;
float: left;
}
.eyecatcher{
color: #95C123;
height: 40px;
font-weight: bold;
font-size: 20px;
}
.video-explanation{
background: #7d7d7d;
padding: 45px 0;
}
<div class="features-list">
<div class="feature-card">
<div class="feature-container">
<div class="eyecatcher">
asdasdasd2
</div>
<div>
asdasdasd
</div>
</div>
<div class="feature-container">
<div class="eyecatcher">
asdasdasd2
</div>
<div>
asdasdasd
</div>
</div>
<div class="feature-container">
<div class="eyecatcher">
asdasdasd2
</div>
<div>
asdasdasd
</div>
</div>
<div class="feature-container">
<div class="eyecatcher">
asdasdasd2
</div>
<div>
asdasdasd
</div>
</div>
<div class="feature-container">
<div class="eyecatcher">
asdasdasd2
</div>
<div>
asdasdasd
</div>
</div>
</div>
</div>
<div class="video-explanation">
Video Explanation
</div>