-moz-element

The CSS   Mozilla extension property value was introduced in Gecko 2.0 (Firefox 4.0) as a Mozilla extension value for the  property. It is used in order to use an arbitrary HTML element as a background image for  and. A particularly useful scenario for using this would be to render an image in an HTML5, then use that as a background.

Values
CSS examples:

This example uses a hidden  as the background. The background element uses a gradient, and the text will also be part of the background.

That will produce:



This example uses a hidden  element in a repeating pattern as its background. This demonstrates that you can use arbitrary elements as background, but doesn't necessarily demonstrate good design practices.

That will produce: