Reference Combinator
Removed from specification
The reference combinator is made up of two slashes involving a CSS qualified name, and separates two compound selectors. The first element references the second element.
Browser Support (tested using latest versions)
Desktop
Mobile
Syntax
E /foo/ F { /* Style properties */ }
Example
/* In this example, all input elements referenced by their label will have a yellow background when the input element is focused. */
label:focus /for/ input {
background: yellow;
}
Information is based on Selectors Level 4 - W3C Working Draft (last updated on May 2, 2013)
Copyright © 2013 W3C® (MIT, ERCIM, Keio, Beihang), All Rights Reserved. W3C liability, trademark and document use rules apply.