Skip to content

Commit

Permalink
Dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
G-PERM committed Feb 5, 2025
1 parent 147769a commit 211c0d7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
><span class="dropdownhover"></span>
</div>
<div class="dropdown-content">
<div class="s1"></div>
<div>
<a href="#2" title="Link" class="dropdown-content-a">Link</a>
</div>
Expand Down
8 changes: 7 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -342,9 +342,15 @@ nav a {
align-items: center;
text-align: center;
}
.dropdown-button {
z-index: 1;
}
.dropdown-content {
top: 0;
position: absolute;
margin-top: 9vw;
}
.s1 {
height: 4vw;
}
.dropdown,
.dropdown-button,
Expand Down

0 comments on commit 211c0d7

Please sign in to comment.