I’m trying to select all of the elements that have both .checked and .featured tags. So basically, what I’m looking for is an “and” selector; I don’t know if there is one or not.
Is there any workaround for cases like this?
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.
You use both (without space between them)
Reference: http://www.w3.org/TR/selectors/#class-html
Example