Click here to Skip to main content
11,477,625 members (74,350 online)
See more: CSS
.menu,
2   .menu ul,
3   .menu li,
4   .menu a {
5       margin: 0;
6       padding: 0;
7       border: none;
8       outline: none;
9   }
10
11  .menu {
12      height: 40px;
13      width: 505px;
14
15      background: #4c4e5a;
16      background: -webkit-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
17      background: -moz-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
18      background: -o-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
19      background: -ms-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
20      background: linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
21
22      -webkit-border-radius: 5px;
23      -moz-border-radius: 5px;
24      border-radius: 5px;
25  }
26
27  .menu li {
28      position: relative;
29      list-style: none;
30      float: left;
31      display: block;
32      height: 40px;
33  }

Source: http://designmodo.com/css3-dropdown-menu/#ixzz1v9POyvur[^]
Closed because this post is spam, abusive or otherwise inappropriate. Reported by Wes Aday, fjdiewornncalwe, Sergey Alexandrovich Kryukov, Monjurul Habib on Thursday, May 17, 2012 9:56am.
Posted 17-May-12 8:56am
Edited 17-May-12 8:57am
(no name)255K
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 274
1 Richard Deeming 245
2 _duDE_ 175
3 Tomas Takac 150
4 Sascha Lefèvre 145
0 Sergey Alexandrovich Kryukov 7,675
1 OriginalGriff 7,256
2 Sascha Lefèvre 3,034
3 Maciej Los 2,491
4 Richard Deeming 2,305


Advertise | Privacy | Mobile
Web04 | 2.8.150520.1 | Last Updated 17 May 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100