repeat-item property CSS Reference

Definition and Usage

The ::repeat-item pseudo-element represents a single item from a repeating sequence. It is generated as a parent to all the elements in a single repeating item. Each ::repeat-item is associated with a particular instance data node, and is affected by the model item properties (e.g. 'relevant') found there, as the related style properties will cascade to the child elements.


element:repeat-item { style properties }


<html:table xforms:repeat-nodeset="...">
<html:td><xforms:input ref="..."/><xforms:input ref="..."/></html:td>
html|tr::repeat-item { outline: medium solid; color:gray }
html|tr::repeat-index { outline: medium dashed; color:black }

Relative articles