Having a slight CSS dilemma.
Within my webpage's html, I have the following structure:
<div class='box-div'>
<div>Entry 1</div>
<div class='hide'>Entry 2</div>
</div>
Here is my associated CSS styling:
.box-div div {
display: inline-block;
}
.hide {
display: none;
}
My goal is to hide the second nested div, however, the first rule overrides the second one. How can I resolve this issue?