While working on some UI design today, I wanted to introduce a CSS effect where one div would scroll underneath another, with a nice shadow effect. Nothing new, you can get an idea right from the thumbnail here to the left, or following the link to the demo. I googled hoping to quickly find some ready made CSS to copy but couldn’t find it, so I decided to write a simple HTML page on my own to reproduce it. UPDATE: Published the code as a gist.
A few days ago, Joe Hewitt of Firefox and Firebug fame tweeted about HTML5 History APIs: “history.pushState, such a great new web api, but so terribly broken in iOS Safari. Is iOS 5 here yet?”. Since I spent quite some time working with HTML5 history while developing Rhizosphere, his tweet prompted me to share my opinions on the HTML5 History API. This article discusses what I think are the main limitations of the new API.