While I was coding the Notepad theme, I've learned some new CSS3 features and now I would like to share it with you. View the demo to see a Mac-like multi-level dropdown menu that I've created using border-radius, box-shadow, and text-shadow. It renders perfect on Firefox, Safari and Chrome. The dropdown also works on non-CSS3 compitable browsers such as IE7+, but the rounded corners and shadow will not be rendered.
Preview
The image below shows how the menu will look if CSS3 is not supported.

One Gradient Image is Used
A white-transparent image is used to achieve the gradient effect. Because the new CSS3 gradient feature is not supported by all browsers yet, it is safer to use a gradient background image.

The instensitiy of the gradient can be changed by shifting the background image up or down. Also, the gradient color can be easily adjusted by changing the background color.

CSS Code
I'm not going to explain the CSS line by line. The images below explain the key points on how this dropdown is coded.


Update Apr 13 2010: Pure CSS Dropdown (No Image Used)
The following demo used CSS gradient and IE gradient filter instead of the gradient image. It works for Webkit browsers, Firefox 3.6+, and IE.

Great tutorial. CSS3 makes life so easier.
but it is not supported in IE6&7 :(
very god, thank you – this dropMeny wil definatelly be sold anywhere for any client. I really like your posts. One question only – if we get stuck wit some of works, can we contact yu for help? Thanks
wish we have only one type of browser!
best to follow
really attractive….new horizone….best i bought
templategang
best sale templategang
to beat monster here comes templategang
best price website design…..goood quality best designers….
citywebstudio co uk
best price…affordable …
affordablewebdesignstudio co uk
latest design…web 2.0
lowest price..
alll small cmpny
templategang
templategang best price
What’s a Nice Looking menu….. Thanks
nice thanks for sharing
Love it great thx!
Wow there is a lot of spam on these comment boards!
Anyhowz, Thanks for this great description on setting up a css3 drop down menu. I have been a big fan of suckerfish and superfish drop down menus, but can see them getting replaced by techniques similar to this.
Thanks Again.
What’s a Nice Looking menu….. ..Thanks