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.

Nice dropdown Menu :)
Thanks for the tutorial! I found it very useful.Thanks a lot!,,,,
Great giveaway. Properly done great. will my friends recommend it. Thanks .. keep it up
you have good a great collection of web site, Very Good Me..thanks.
full fadu
awsome………….
nice and simple to learn drop down navigation bar, thank you friend/Sir
Hello, thanks for the tutorial
you rock ! :)
One thing though
does this menu support input items on it (type=”text” basically)
Thanks
Reply to my e-mail please
Thank you again :)
Peace!
nice and simple to learn drop down navigation bar, thank you friend.
Please send me that code to my mail
This is my mail id : ipraveenb@gmail.com
please……………………
hi…I like it nd cool…..
Thanks for the advice. It makes my job a lot easier.
I simply could not leave your site before suggesting that I really enjoyed the usual info an individual provide to your visitors? Is going to be back regularly to investigate cross-check new posts
sdsdsd
zzzzzzc
Other countries censor content and not just rogue regimes such as the Iranian mullocracy. Poor people! http://www.baidu.com
Thank you very much from spain
Very helpful many thanks
CSS is designed primarily to enable the separation of document content (written in HTML or a similar markup language) from document presentation, including elements such as the layout, colors, and fonts.This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, enable multiple pages to share formatting, and reduce complexity and repetition in the structural content (such as by allowing for tableless web design). .,
Bye for now
<http://www.caramoantourpackage.com
Thanks for the tutorial.. İt’s so nice menu and i found it very useful :D
0, and it is going to overtake all other advertising venues
on the internet. This will serve as the storage for the personal Facebook layouts that you
have created for public viewing and use as well through a
public gallery. outright ignores your comments and continues replying merrily away at comments.
Excellent post man!
Thanks for sharing.