/    Sign up×
Community /Pin to ProfileBookmark

A tag click transition

I have a nav-bar that is position: fixed; to the top and has a java script effect that ass a background.
I have a tag in my nav-bar of course and are set to go to the respective div. The problem is that when I click on them
they goo a bit too fat because of the navbat , and now the nav bar is a over the text in some cases, Is there a way I could fix it ?

here is the navbar html

[code]<nav>
<div class=”logo”>
<a href=”#”>
<img src=”img/logo.png” alt=”logo nav bar”>
</a>
</div>
<ul class=”nav-links”>
<li><a href=”#”>Home</a></li>
<li><a href=”#about”>About</a></li>
<li><a href=”#portfolio”>Portfolio</a></li>
<li><a href=”#contact”>Contact</a></li>
</ul>
<div class=”burger”>
<div class=”line1″></div>
<div class=”line2″></div>
<div class=”line3″></div>
</div>
</nav>[/code]

to post a comment
CSSHTML

0Be the first to comment 😎

×

Success!

Help @codyhill spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.12,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...