I am basically trying to do something like this:
Hiding "Label2" when "Label1" has the class "hide"
<div class="div1">
<div>
<form >
<label class="label1 hide">Label1</label>
</form>
</div>
</div>
<div class="div2">
<label class="label2">Label2</label>
</div>
Is there a way to achieve this in css