I have an element that has 4 classes. I want to select based on 2 of those classes but the CSS rule that I made for it does not apply in the browser:
It looks like
.one.two {
...
}
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.
Here is a sample HTML/CSS of what you want:
It’s working on Internet Explorer 8, Firefox 15, Chrome 21
Only first and last divs will get the red background, because only they are having c1 and c2 classes …