CSS identify div child of child

I have this html code

<div class='father'>
  <div>
      <div>
           Some text
      </div>
  </div>
</div>

I cannot modify the html source, so I was trying to modify the attributes and style of the div containing “some text”.

Could the syntax “div:nth-child” help me?

I used to identify a child item of a div but here I have to identify the child item of another child.


solution

Use the child combinator, >, to achieve this. (example here)

.father > div > div { ...  }