If the HTML code has two identical class values, like this:
<div class="aaa aaa">
</div>
Is it valid to grab it by the two same values within CSS, like this?
div.aaa.aaa { }
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.
Having
<div class="aaa aaa">, is the same as having<div class="aaa">.div.aaa.aaais valid, as well asdiv.aaa, and they both select the same elements.div.aaa.aaalooks for<div>s withclass=aaaandclass=aaa, which is redundant.