Skip to content

Conversation

lennis-dev
Copy link

New animated mobile menu toggle button (without JavaScript)

This pull request introduces a responsive mobile navigation menu to the site header, improving usability on smaller screens. The main changes add a hamburger-style toggle button and update the CSS to support mobile-friendly menu behavior.

Preview


dark


extended-dark

Homepage darkmodeHomepage darkmode extended

light


extended-light

Homepage lightmodeHomepage lightmode extended

Mobile navigation improvements:

  • Added a toggle button and corresponding checkbox (label[for="menu-toggle"] and #menu-toggle) to the navigation bar in header.html for mobile menu activation.
  • Updated main.css with new styles and media queries to hide the menu toggle on desktop, show it on screens smaller than 768px, and animate the menu expansion/collapse and hamburger icon transitions.

@thestinger thestinger force-pushed the main branch 14 times, most recently from 18967ab to 0349e3d Compare October 8, 2025 20:32
@thestinger thestinger force-pushed the main branch 2 times, most recently from aec8fe6 to e786b44 Compare October 9, 2025 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant