I've got some simple markup
<div class='1'>
<div class='11'></div>
<div class='12'>
<div class='121'></div>
</div>
</div>
And I'm using the following CSS to try and target the .11 and .12
div div:nth-of-type(1) { // some rules for the first div }
div div:nth-of-type(2) { // some rules for the second div }
However, it seems that div .121 is being targeted by the first rule. Is there a reason for this?
How would i target .11 in the first rule and .12 in the second only?