<div class="projects-list home-1">
<article class="whispers">
<h1>Whispers</h1>
<figure>
<a href="/projects/whispers.html">
<img src="assets/media/images/whispers.jpg"alt=""
</a>
</figure>
</article>
<article>
<h1>Victoria</h1>
<figure>
<a href="projects/after-august.html">
<img src="assets/media/images/victoria.jpg"alt=""
</a>
</figure>
</article>
<article>
<h1>for sasha</h1>
<figure>
<a href="projects/for-sasha.html">
<img src="assets/media/images/fosasha.jpg"alt=""
</a>
</figure>
</article>
<article>
<h1>old and blue</h1>
<figure>
<a href="projects/old-and-blue.html">
<imgsrc="assets/media/images/oldandblue.jpg"alt="">
</a>
</figure>
</article>
<article>
<h1>offf barcelona</h1>
<figure>
<a href="projects/offf-barcelona.html">
<img src="/assets/media/images/offf-barcelona.jpg" alt="">
</a>
</figure>
</article>
</div>
I am interested in changing the background color of the body tag when hovering over certain images. Is there a way to select another element on CSS on hover?
For example:
article:hover { here i want to say like body: background = 'whatever' }
Instead of using JS, I am looking for an easier way to achieve this through CSS.