I am trying to get a CSS selector to check and apply the CSS based on the condition that if: sectionContent-noToolbar
is available, then apply height:2em
on sectionSeperator
. Is it possible to achieve that using some selector? I have been searching for an answer for quite a while now without any luck. Any suggestions?
<section class="sec" name="Information">
<div class="sectionContent-noToolbar"></div>
</section>
<div class="sectionSeparator"></div>