(CSS) Affecting multiple classes on :hover
I have a tower-shaped clickable area that kinda looks like this :
<a class="clickable-area">
<div class="icon"></div>
<h1>Name</h1>
<p>Detailed description</p>
</a>
3 block elements stacked on top of each other, wrapped in a <a> tag, which represents the clickable area.
How would one go about affecting all 3 child elements of <a> (in other words : .icon, h1 and p) when hovering over any portion of <a>? For example, if we want a:hover to trigger an .icon image change + h1 color change + p position change, all in sync.
I heard there was a way via '+' but it's pretty tricky, and trickier still to Google info about. (I'm thinking the fact that these are all child elements of <a> might make them easier to sync, but it might not for all I know.)
PS: It's entirely possible that this cannot be done via CSS alone, in which case I'm just looking for confirmation.
Thanks!
