Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to make proper dropdown?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #209242
    pvl123
    Participant

    My code for inside of dropdown should looks like this

    http://i.stack.imgur.com/nC4YP.png

    Here is my code:

    .inside {
    padding: 10px 0px 5px;
    background: #FF3912;
    position: absolute;
    }

    But it dosent looks like what I need – background isnt ok, border radius is different. It looks ok only if is position set to inherit, but if I set position to inherit, other elemenets “jumps”. How can I make dropdown same on screenshot?
    Here my code http://codepen.io/marciapn/pen/zvZWaQ

Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.