Description

E ~ F an element F, that is preceded by element E.
Like the Adjacent sibling selector + only it selects all siblings of the type F that precede E.

See also:

  • Adjacent sibling selector +
  • Descendant selector
  • child selector >
Live Example
Play with the code in the textarea below.

Introduced in CSS version
3
Inherited
N/A
Browser Support
BrowsersIEFirefoxSafariOperaChrome
Versions71290.2
Belongs to:

See the full list CSS properties and browser support: CSS Properties