Hello I would like to ask how you solve problem with overlaping navbar. I know that there is alot of articles about that, but nothing works perfectly for me.
I have dynamic nav-height (txt + 1% ) I don’t want to use js.
.nav {
max-width: 1200px
margin: 0 auto
padding-top: 0.25%
padding-bottom: 0.25%
color: $textW
font-weight: 500
background-color: $darkB
z-index: 1000
border-radius: 0 }
So how can I set section :after to have exactly same margin-top as the nav?