This take on the nice 3D effect changes from three cubes (and a slide in the middle) to a pyramid shape. I have also added two floor variations so you can have a flat floor to the pyramid, or a pyramid inside a pyramid. If you can't see the effect correctly you will need to try it in Safari 5 for Windows, or a Webkit nightly build that supports 3D transformations in CSS.
See further examples here.