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 9253111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:08:01+00:00 2026-06-18T11:08:01+00:00

I am trying to create something that looks like this: The problem is I

  • 0

I am trying to create something that looks like this:

dropdown

The problem is I think it would be best to keep it inside of one div since the drop down has an inner shadow and drop shadow.

Thanks in advance and please let me know if you need any more detail on the problem.

This is what I have so far:

CSS

.rectangle {
    background: #1f8dda;
    background-image: -moz-linear-gradient(270deg, #1f8dda 0%, #114dbc 100%);
    background-image: -webkit-linear-gradient(270deg, #1f8dda 0%, #114dbc 100%);
    background-image: -o-linear-gradient(270deg, #1f8dda 0%, #114dbc 100%);
    background-image: linear-gradient(180deg, #1f8dda 0%, #114dbc 100%);
    -moz-box-shadow: 0px 0px 2px 0px #000000;
    -webkit-box-shadow: 0px 0px 2px 0px #000000;
    -o-box-shadow: 0px 0px 2px 0px #000000;
    box-shadow: 0px 0px 2px 0px #000000;
    border-radius: 0px;
    margin: 0px;
    width: 145px;
    height: 138px;
}

I also created a fiddle for this: http://jsfiddle.net/yHy5n/

  • 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-06-18T11:08:02+00:00Added an answer on June 18, 2026 at 11:08 am

    Besides the fact that you menustructure looks quite weird, here is a quick sketch I did for you as a starting point: Demo
    It is not meant to be the complete solution but rather an idea you can work with.

    Given the markup below, the basic idea is to style the list elements of the main list (h2) and the sublists separately and make the gradients have a smooth transition.

    <ul class="nav">
        <li>HOME</li>
        <li class="active"><h2>DUNGEONS PIECES</h2>
        <ul class="subnav">
            <li>Floor<span class="count">123</span></li>
            <li>Walls<span class="count">54</span></li>
            <li>Sets<span class="count">7</span></li>
        </ul>
        </li>
    </ul>
    

    css:

    .active {
        background: #1f8dda;
        /* ... */
    }
    .active h2{
        background-image: linear-gradient(180deg, #1f8dda 34%, #228fdd 100%);
        /* ...                                                    /\ */
    }            /*            gradient transition   --------------- */
    .active ul { /*                                  \/              */
        background-image: linear-gradient(180deg, #228fdd 34%, #114dbc 100%);
        /* ... */
    }
    

    Also most of your compatibility css isn’t needed anymore – take a look at:

    Gradients
    Box-shadow

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

Sidebar

Related Questions

I'm trying to create something that works like this but doesn't have any submenus.
I'm trying to create a jQuery selector that will do something like this: (.a
I am trying to create something in Perl that is basically like the Unix
I am trying to create something like this as i have done it in
I am trying to create something that uses the idea of the UIPopOverController, I
I am trying to create something on a webpage that allows my users to
I've got a database that looks like this: ID Name ParentID 1 1 0
The first thing i would like to say is that this is not exactly
I'm trying to do something that I thought would be quite simple but as
So, let's say I'm trying to create something that replies to tweets of a

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.