More on Selectors 

We will examine some high-level ideas about CSS selectors.
- div p{ } - We have applied CSS just on the <p> labels inside div, and the third passage isn't inside a div component.
- div>p{ } - The styling will be applied to all <p> components which are the immediate offspring of any div component.
- div+p{ } - There may be circumstances where you need to choose the <p> labels that are following the <div> components.

0 Comments