This question is an exact duplicate:
How to hover styles on .work__2 when hovering over .photo__2 ?
With the help of anything (if anyone knows about the existence of a special plug-in for such things, then please share)?
.photo { float: left; } .photo__1 { width: 300px; height: 100px; background: red; margin: 10px; } .photo__2 { width: 300px; height: 100px; background: yellow; margin: 10px; } .photo__3 { width: 300px; height: 100px; background: green; margin: 10px; } .carrer { float: left; } .work__1 { width: 100px; height: 100px; background: red; margin: 10px; } .work__2 { width: 100px; height: 100px; background: yellow; margin: 10px; } .work__3 { width: 100px; height: 100px; background: green; margin: 10px; } <div class="photo"> <div class="photo__1"></div> <div class="photo__2"></div> <div class="photo__3"></div> </div> <div class="carrer"> <div class="work__1">work 1</div> <div class="work__2">work 2</div> <div class="work__3">work 3</div> </div>
css? - Raz Galstyan