+ 2
How do you target something inside or around another element?
CSS
2 Antworten
+ 2
You can use two selectors in a row to select a tag nested inside another...div div { } , for example will select all div tags that are inside other div tags. You might find other selectors like :nth-child() useful, too.
Check out this great demo.
https://www.w3schools.com/cssref/trysel.asp
+ 2
Do you mean target as in using the :target selector?
https://www.w3schools.com/cssref/sel_target.asp