I am trying to understand more difficult stylesheets. I have seen selectors that start like this
why do they put the div there first
I have also seen an id on a li tag where in the css they did this
I guess what i am trying to get at is if you need to specify the parent tag then go through all the child tags untill you get to the id tag. or is it that if you list the parent and then the children that you are trying to target a specific tag. I tried some experiments but the end result didn’t match what I though i would get.
does that make any sense?