Hello, i’m having a problem sizing images inside of DIV in a footer, everywhere else it works but suddenly in Footer it just wont size for life of me. Sorry for a messy CSS, please focus on footer only, i need help trying to figure out problem with image sizing inside of div here.
<footer>
<div id="footer-container">
<div id="footer-container-content">
<div id="footer-information" class="footer-content">
<h3>EntertainmentTime</h3>
<p>Newspaper is your news, entertainment, music fashion
website. We provide you with the latest breaking news and videos straight from the entertainment industry.</p>
<ul>
<li><i class="fa-brands fa-facebook-square"></i></li>
<li><i class="fa-brands fa-youtube"></i></li>
<li><i class="fa-brands fa-twitter-square"></i></li>
</ul>
</div>
<div id="footer-recent" class="footer-content">
<div id="footer-recent-title">
<h3>RECENT POSTS</h3>
</div>
<div class="footer-recent-container">
<div class="footer-recent-img">
<img src="images/niko_i_hunter.jpg">
</div>
<div class="footer-recent-description">
<h3>Niko and Hunter have extended their contracts with G2 Esports</h3>
</div>
</div>
<div class="footer-recent-container">
<div class="footer-recent-img">
<img src="images/niko_i_hunter.jpg">
</div>
<div class="footer-recent-description">
<h3>Niko and Hunter have extended their contracts with G2 Esports</h3>
</div>
</div>
<div class="footer-recent-container">
<div class="footer-recent-img">
<img src="images/niko_i_hunter.jpg">
</div>
<div class="footer-recent-description">
<h3>Niko and Hunter have extended their contracts with G2 Esports</h3>
</div>
</div>
</div>
<div id="footer-categories" class="footer-content">
<div id="categories-title">
<h3>CATEGORIES</h3>
</div>
<div class="category">
<a href="">Games</a>
</div>
<div class="category">
<a href="">Movies</a>
</div>
<div class="category">
<a href="">Reviews</a>
</div>
<div class="category">
<a href="">Technology</a>
</div>
<div class="category">
<a href="">Videos</a>
</div>
</div>
</div>
<div id="footer-copyright">
<div>© 2020 @ BootstrapDash. All rights reserved.</div>
<div>Handcrafted by BootstrapDash</div>
</div>
</div>
</footer>
width: 1200px;
margin: 0 auto;
padding: 20px 10px;
}
footer > #footer-container > #footer-container-content {
display: flex;
justify-content: space-between;
}
footer > #footer-container > #footer-containter-content >.footer-content {
width: 373px;
}
footer > #footer-container > #footer-containter-content > .footer-content > .footer-recent-container {
display: flex;
justify-content: space-between;
}
footer > #footer-container > #footer-containter-content > .footer-content > .footer-recent-container > .footer-recent-img {
width: 80px;
overflow: hidden;
}
footer > #footer-container > #footer-containter-content > .footer-content > .footer-recent-container > .footer-recent-img > img {
width: 100%;
vertical-align: bottom;
}
type or paste code here