Rebuild 08: Project content and CSS3 transition examples
The basic layout and presentation for the projects page is done. Setting up that page prompted me to implement a few CSS3 transitions at three locations: the horizontal navigation links, the sidebar items, and the project titles in the left column of the projects page.
You’ll need Chrome, Safari, Opera or the Firefox 4 beta to see the effects. As you hover over any of those three page elements, you will see a smooth transition effect. This is very easy to implement. All I had to do was add this CSS3 code to the CSS selector for the particular element to which I wanted the effect applied:
-moz-transition: all 0.60s ease-in-out; -o-transition: all 0.60s ease-in-out; -webkit-transition: all 0.60s ease-in-out; transition: all 0.60s ease-in-out;
There is a lot more one can do using CSS3. To see a real-world site with a lot of this sort of thing implemented, open up Chrome or Safari and take a look at CSS-Tricks and hover your mouse around all the parts of the page. Of course, this level of implementation can really get annoying, sorta like an overuse of visual gimmicks in PowerPoint slides. But, hey, if your site is called “CSS-Tricks,” I think you get a pass.
