If I have the following selector:
#doctors h2 {
/* CSS CODE HERE */
}
Is this selector pointing to all <h2> element that are descendants of elements with id="doctor"
If I have the following selector:
#doctors h2 {
/* CSS CODE HERE */
}
Is this selector pointing to all <h2> element that are descendants of elements with id="doctor"
Exactly. #doctors h2 selects all <h2> elements which are descendants of the element with id="doctors".
` within the `#doctors` element, even if they are a descendant of a descendant of a descendant of a ...
– Jhecht Jan 18 '17 at 21:29