skip to content
Website Builder

CSS3 - The future now - menus
fade in / border radius / drop shadow / gradient fill

25th January 2010

©2010 stu nicholls - cssplay.co.uk

CSS play Support


CSS play Recommend

PSD to HTMLFree, practical CSS menus, layouts, and examplesuk white label shopping carts for resellersSitegrinder

Follow CSS play

Facebook   Twitter



Information

The ONLY gaphics used in this menu are the right and left arrows to indicate the sub menus.

This takes one of my anywidth menus and applies CSS3 styling to give corner radii, drop shadows, gradient fill, and fade in transitions.

The only two 'final release' browsers that can reproduce all these styles are Safari and Google Chrome, but I am informed that the next release of Opera and Firefox will be able to correctly style this menu. I will add the additional styles when the new versions of these browsers is released.

So Safari and Chrome will have all the styles, Firefox will have the border radii and drop shadows, Opera and IE8 will just have the plain boxes with gaps between the sub menus and finally IE6 and IE7 will have a plain dropdown/flyout menu.

So another menu that would have taken many lines of javascript can now be achieved with just a couple of lines of CSS.

25th January 2010

Firefox v3.6 released which now supports gradient fills, so I have added this to the menu.




Copyright

Because of all the time and effort spent in producing this demonstration I would ask that you respect my copyright.

1. If you are using this on a personal web site then please add a link back to CSSplay and retain any copyright comment in the stylesheet.
A donation to the 'Support CSSplay' fund would be appreciated.

2. If you are using this on a commercial web site, or as a paying job for a client, then please email me asking for permission - stu{at}cssplay.co.uk and in this case a donation to the 'Support CSSplay' fund is required.

3. If you are having problems integrating any of my demonstrations into your website then I now offer a service to fault find and correct any errors that you may have introduced. Please email me for more information.




 

CSS play Testimonial

"The citroen.co.uk web site uses
CSS play code for the site drop down menus.
This code works seamlessly in IE 6 & 7, and is an excellent solution to the Creative requirements of the site."

Damon Clark - Brandwidth