Demo: Use Elements as Background Images with moz-element

The top element below uses the bottom element as its background; crazy huh? Using the console, feel free to modify the "background" element to, in turn, modify first element. (This demo works only in Mozilla Firefox.)

-moz-element Usage

This container element uses the element below as a repeating background image!

The -moz-element DIV

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.

 

"background" element

Use the console to edit the element below; styles, innerHTML content, whatever! Once editing is complete, the -moz-element-style element above will change!

I'm in the background.

Back to: Use Elements as Background Images with moz-element