I have this structure, the problem is that I can't modify anyhow html, only use css and I have two screens with totally different styles for divs.
Is there any pseudo-class in css for checking parents for specific children?
<div class="value">
some text
</div>
<div class="value">
<input>
</div>