I know the title is misleading but I had no better way of adding a title to my question:
I've stumbled upon a couple of sites now, using HTML 5 and CSS 3.0 in a horizontal parallax-type single page layout, with a title over an image, let's say, black on a white background image, and when you scroll to the right, the black text gradually become lighter to accommodate the new background coming into view, let's say white text on black background.
This seems to be a growing trend, specifically in Windows Store Application and I'm trying to replicate something similar for a web site.
What I have so far is using jQuery to hard-code possible coordinates for the text and when the scroll position reaches about 25% of the position to the right start changing the color using SVG, but this seems over complicated.
Are there any examples online? I've tried search for HTML / CSS text fade-in fade-out but this does not really return anything concrete?