I have a HTML page with contents (div, h1, …). With interaction on one of these contents I would like to affect my body. I look at ~ and + sibling symbol for CSS but without success.
Is there a way to achieve what I want to do ?
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.
CSS provides nothing that allows you to modify an element based on its children or elements that follow it.
You’ll need to look to JavaScript for that.