CSS3 - The future now - animated menus
24th January 2010
For Safari and Google Chrome at the moment using -webkit
Updated 17th April 2010
Now working in Opera and Firefox
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce vitae urna quis nunc feugiat aliquet. Proin a est non augue scelerisque eleifend eget et sapien. Nunc et dolor leo, vitae tempor erat. Donec ipsum augue, placerat et scelerisque ut, convallis et metus. Aliquam nisl enim, rhoncus quis aliquet non, elementum viverra metus. Proin ante turpis, aliquet ac convallis quis, feugiat et magna. Etiam vitae metus dolor. Donec euismod lorem in urna tincidunt ac gravida purus facilisis. Donec eu justo risus. Vivamus fringilla augue turpis. Etiam justo tortor, pulvinar id aliquet vitae, vehicula eu ligula. Ut eu sapien massa. Vivamus iaculis hendrerit ligula id adipiscing. Aenean quis magna dui, non vehicula tellus.
copyright © stu nicholls - CSS play
Information
Just a glimpse of the future of CSS, a demonstation of what is coming with CSS3 but not quite here yet.
This demonstration is only visible in Safari and Google Chrome and even then only using -webkit styling. Safari has better quality rounded corners similar to those of Firfeox, whereas Google Chrome has very 'blocky' corners.
But no doubt this will be seen in more browsers in the coming months.
This menu has an animated 'slide-down / slide-up' action for the sub menus which also have CSS3 border radii and CSS3 drop shadows with transparency.
So no more need to use javascript / jQuery to produce this and it only takes a couple of lines of style.
This demo still needs a little refining but that will be the subject of the next demo in this series.
17th April 2010 - Now working in Opera and Firefox.
Copyright
You may use this method on your personal 'non-profit' web site without seeking my permission. A link back to CSSplay is always appreciated.
Commercial usage is also permitted without seeking approval, but I would ask that a donation is considered to support my work on CSSPlay.
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.




