For example:
div > p.some_class {
/* Some declarations */
}
What exactly does the > sign mean?
For example:
div > p.some_class {
/* Some declarations */
}
What exactly does the > sign mean?
The greater sign ( > ) selector in CSS means that the selector on the right is a direct descendant / child of whatever is on the left.
An example:
article > p { }
Means only style a paragraph that comes after an article.