1

Say I have something like this:

<div class="entry">
   <a class="click" href="http://domain.com">Some link</a>
</div>

<div class="entry">
   <a class="unclick" href="http://domain.com">Some link</a>
</div>

How would I target the entire contents of a .entry surrounding an a.click, without affecting the .entry surrounding of an a.unclick

I want to hide the outer div if the link has a class of "click".

EDIT: I need to do this without resorting to javascript, only CSS and HTML.

Jason Mayoff
  • 77
  • 3
  • 11

0 Answers0