div li:first-child
what does above css selector target?
- First li’s of every div on the page
or
- All the descendant li’s of the div where div is the first child of its parent
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The
first-childapplies to theli. It should selectlis that are first children under any div.