Open mahendra785 opened 1 month ago
div.navbar
div.logo
div.nav-links
(visible on larger screens)
a.link
- Link to Homea.link
- Link to Abouta.link
- Other visible links (e.g., View Sellers, Become Seller)button.hamburger-menu
(visible on smaller screens)
div.theme-toggle
div.hamburger-menu-content
a.link
- Link to Home (hidden on larger screens)a.link
- Link to About (hidden on larger screens)display: flex;
on nav-links
to show all links.display: none;
on hamburger-menu
.display: none;
on nav-links
to hide the Home and About links.display: block;
on hamburger-menu
to show the hamburger icon.hamburger-menu-content
.hamburger-menu-content
visibility.aria-*
attributes for accessibility.
On smaller devices, hide the home and about links in the navbar and place them inside a hamburger menu. This will make the navbar more compact and easier to use on mobile devices.