I'm working on scratch off HTML5 effect and I need both background and foreground to be DIVs with animated content inside. So I need Foreground DIV on top of Background DIV and I want to mask regions of the Foreground DIV as user scratches them off. Is it possible?
I need to create this: http://beej.us/x/scratcher/, but with DIVs instead of both background and foreground images.