Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7401637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T04:31:34+00:00 2026-05-29T04:31:34+00:00

I haven’t done a lot of work with multi-level, pure CSS drop-down menus before,

  • 0

I haven’t done a lot of work with multi-level, pure CSS drop-down menus before, but I’m now looking for the cleanest possible method that is out there. When I’ve searched for this online I’ve found a lot of solutions that were 4-5 years old and I’m not sure whether there are better ways to achieve this than to do something like this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T04:31:36+00:00Added an answer on May 29, 2026 at 4:31 am
    .third-level-menu
    {
        position: absolute;
        top: 0;
        right: -150px;
        width: 150px;
        list-style: none;
        padding: 0;
        margin: 0;
        display: none;
    }
    
    .third-level-menu > li
    {
        height: 30px;
        background: #999999;
    }
    .third-level-menu > li:hover { background: #CCCCCC; }
    
    .second-level-menu
    {
        position: absolute;
        top: 30px;
        left: 0;
        width: 150px;
        list-style: none;
        padding: 0;
        margin: 0;
        display: none;
    }
    
    .second-level-menu > li
    {
        position: relative;
        height: 30px;
        background: #999999;
    }
    .second-level-menu > li:hover { background: #CCCCCC; }
    
    .top-level-menu
    {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .top-level-menu > li
    {
        position: relative;
        float: left;
        height: 30px;
        width: 150px;
        background: #999999;
    }
    .top-level-menu > li:hover { background: #CCCCCC; }
    
    .top-level-menu li:hover > ul
    {
        /* On hover, display the next level's menu */
        display: inline;
    }
    
    
    /* Menu Link Styles */
    
    .top-level-menu a /* Apply to all links inside the multi-level menu */
    {
        font: bold 14px Arial, Helvetica, sans-serif;
        color: #FFFFFF;
        text-decoration: none;
        padding: 0 0 0 10px;
    
        /* Make the link cover the entire list item-container */
        display: block;
        line-height: 30px;
    }
    .top-level-menu a:hover { color: #000000; }
    <ul class="top-level-menu">
        <li><a href="#">About</a></li>
        <li><a href="#">Services</a></li>
        <li>
            <a href="#">Offices</a>
            <ul class="second-level-menu">
                <li><a href="#">Chicago</a></li>
                <li><a href="#">Los Angeles</a></li>
                <li>
                    <a href="#">New York</a>
                    <ul class="third-level-menu">
                        <li><a href="#">Information</a></li>
                        <li><a href="#">Book a Meeting</a></li>
                        <li><a href="#">Testimonials</a></li>
                        <li><a href="#">Jobs</a></li>
                    </ul>
                </li>
                <li><a href="#">Seattle</a></li>
            </ul>
        </li>
        <li><a href="#">Contact</a></li>
    </ul>

    I have also put together a live demo that’s available to play with HERE

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I haven't found any documentation on this or seen this done before, but is
I haven't actually done this yet, and maybe I don't need to, but it
Haven't seen anything about it here but it seems to solve one of the
Haven't been programming in JS for a while. Now, I have following thing: <html>
Haven't seen anything, but I have seen that you can create albums in the
Haven't been coding in a bit, but took on a project for a friend.
Haven't done as much of Javascript as I should have done. I am trying
haven't used regex replaces much and am not sure if how I have done
I haven't used the implements keyword before, and I've been trying to use it
Haven't done serious JavaScript since 90s, so looks like a couple of things changed.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.