-1
Hello, in the code below I want to change the class color selected image when passing the mouse in the class images.
The code example works by hovering the mouse on area_de_images, editing failed due to I have not studied, if possible I would like to be recommended css books, thank you.
<style>
.galeria{
position: relative;
width: 600px;
height: 700px;
background:black;
}
.galeria .area_imagens{position: absolute;
height: 100px;
background: red;
overflow-x:scroll;
overflow-y:hidden;
max-width: 100%;
display: flex;
flex-wrap: nowrap;
}
.galeria .area_imagens .imagens{
position: relative;
min-width: 100px;
height: 100px;
margin-left:15px;
background:orange;
float:left;
}
ul .imagem_selecionada{
position: absolute;
width:100%;
height:100%;
background:blue;
top:100px;
left:0px;
}
.area_imagens:hover ~ ul .imagem_selecionada{
background: yellow;
}
</style>
<div class="galeria">
<div class="area_imagens">
<div class="imagens"></div>
<div class="imagens"></div>
<div class="imagens"></div>
<div class="imagens"></div>
<div class="imagens"></div>
<div class="imagens"></div>
<div class="imagens"></div>
</div>
<ul>
<a href="#"><img src="" class="imagem_selecionada"></a></ul>
</div>
Dude then go study, you think someone doing it for you will solve your problem? Ctrl+C / Ctrl+V of an answer that will get you nowhere...
– hugocsl
Everything I learned was through the web, but there are divergences that do not match, example would be a browser work and other do not believe that we are all manipulated and nobody creates anything innovative, recommends some book?
– Jonathan
Look ai https://www.youtube.com/watch?v=FRhM6sMOTfg&list=PLwXQLZ3FdTVGf7GUtiOFLc_9AXO25iIzG 30 lessons CSS3 free for you
– hugocsl
I will visualize and see if I learn +, worth sharing (y)
– Jonathan
You want to change the color of the image or the image area?
– Glenys Mitchell
Good afternoon man, I want you to move the mouse on the images that are background:orange change the color of the selected image from blue to Yellow
– Jonathan