Content-Length: 394796 | pFad | http://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/Combinators

CSS combinators - CSS | MDN

CSS combinators

CSS combinators define relationships between selectors. They allow you to select elements based on their relationship to other elements in the document tree.

For example, to style only paragraph elements that are direct children of a <div>, you can use the child combinator (>):

css
/* Set top margin on <p> elements that are direct children of <div> */
div > p {
  margin-top: 0;
}








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/Combinators

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy