I encountered a puzzling issue, and here is a demonstration of my problem: https://jsfiddle.net/k1y8afst/
<div class="Sample">
<div class="Dummy">
<div class="Books">
<a style="width: 14%; margin-left: 1%; margin-right: 1%;">DUMMY 1</a>
<a style="width: 14%; margin-left: 1%; margin-right: 1%;">SAMPLE 1</a>
</div>
</div>
<div class="Dummy">
<div class="Prices">
<img src="https://www.lexis.se/wp-content/uploads/2022/01/ARD28940SS-scaled.jpg">
<a style="width: 14%; margin-left: 1%; margin-right: 1%;" class="">
DUMMY 2
<a style="width: 14%; margin-left: 1%; margin-right: 1%;" class="">
SAMPLE 2
</div>
</div>
</div>
Whenever I hover over "Dummy 1," I would like "Dummy 2" to resize in a similar manner. Similarly, "Sample 1" and "Sample 2" should exhibit the same behavior when linked together. I am struggling to find a solution for this interaction. How would you approach this challenge?