Question #4

Author: admin
tags: CSS  
<div class="block1">
  <div class="block2">
    <div class="block3">
      <div class="block4">
        <div class="block5">
          text
        </div>
      </div>
    </div>
  </div>
</div>
div div .block3 .block4 {
  color: green;
}

.block1 .block3 div div {
  color: red;
}

div .block4 .block5 {
  color: blue;
}
What color will the text be?
green
red
blue
Selectors div div .block3 .block4 and .block1 .block3 div div have the same specificity (B = 2, C = 2).
Since the specificity of the two selectors is the same, the rules of the selector that is written last in the CSS code are applied.
Rate the difficulty of the question:
easyhard