Skip to content

Commit

Permalink
Revert "Revert "auto-hide feature added to navbar""
Browse files Browse the repository at this point in the history
DARK-art108 authored Sep 9, 2020
1 parent ec39c06 commit 6502aed
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -33,6 +33,7 @@ <h1>The purpose is to<br> teach, bring learning to people</h1>
</div>
</section>

<div class="nav-div">
<nav id="sideNav">

<ul>
@@ -46,7 +47,7 @@ <h1>The purpose is to<br> teach, bring learning to people</h1>
</ul>
</nav>
<img src="images/menu.png" id="menuBtn">

</div>

<!--about-->

8 changes: 7 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
@@ -80,7 +80,13 @@ p {
top: 0;
background: #f67c92;
z-index: 2;
transition: 0.5s;
transition: 0.3s;
transform: translateX(100%);
transition: transform .4s cubic-bezier(.4, 0, .2, 1) .2s;
}
.nav-div:hover #sideNav {
transform: translateX(0);
transition-delay: 0.3s;
}
nav ul li {
list-style: none;

0 comments on commit 6502aed

Please sign in to comment.