Hello everyone, I am new to stack overflow so please bear with me.
I am currently working on this small webpage for my IT course and I have encountered a significant issue.
.float1 {
float:right;
background-color:#A3635C;
margin-top: 150px;
margin-bottom: 100px;
margin-right: 150px;
margin-left: 20px;
padding-top: 20px;
padding-right: 20px;
padding-bottom: 20px;
padding-left: 20px;
transition: 1s;
}
.float1:hover {
background-color:white;
color:#A3635C;
}
The problem I'm facing is that the text inside the second container square (with red background) does not change to color: #A3635C;
when hovering over it. It remains white instead.
If anyone has any suggestions or solutions on how to fix this issue, I would greatly appreciate your input.
Thank you in advance for your help!