Descendant Combinator E >> F
The descendant combinator (E >> F) is essentially the same thing as E F.
Browser Support
| Chrome | Firefox | Safari | Opera | IE | Edge | |
|---|---|---|---|---|---|---|
| Desktop | no | no | no | no | no | no |
| Mobile | no | no | no | no | no | no |
Syntax
E >> F { /* Style properties */ }
Example
/* In this example, all span elements that are a child of a p element will be red. */
p >> span {
color: red;
}
Information is based on Selectors Level 4 - W3C Editor's Draft (last updated on May 24, 2016)
Copyright © 2015 W3C® (MIT, ERCIM, Keio, Beihang), All Rights Reserved. W3C liability, trademark and document use rules apply.