Utilizing both bootstrap classes and Python Flask has been quite interesting for me. My current setup includes a navbar with the following classes:
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
Additionally, here is the code for my fixed background image:
<div class="home-wrap">
<div class="home-inner" style="background-image: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)), url('static/img/Produkte/all.JPG');">
</div>
</div>
In an attempt to resolve any issues, I experimented with the following CSS:
.home-inner {
position: relative;
top: 60px;
}
Although effective initially, I noticed that resizing the screen caused a gap to appear. How might I adjust this so that the navbar does not overlap the top of my background image and remains responsive?