Easy Tutorial
❮ Css3 Pr Border Image Source Sel Id ❯

CSS element+element Selector

Complete CSS Selector Reference

Example

Select the first <p> element immediately following a <div> element:


Definition and Usage

The element+element selector is used to select the element that is immediately following another specified element, not inside it.


Browser Support

All major browsers support the element+element selector.

Note: The element+element selector works in IE8, but it must be declared with <!DOCTYPE>.

❮ Css3 Pr Border Image Source Sel Id ❯