0
Good afternoon! I am needing that when scrolling my website page by scroll bar or mouse scroll, the logo be replaced.
My logo is inserted into the page through a class in bootstrap.css Follows:
.logo1{
background: url(../img/logoo.png) no-repeat;
height: 164px;
width: 172px;
padding: 15px 15px;
font-size: 18px;
line-height: 20px;
float: left;
position: absolute;
}
.logo2{
background: url(../img/logoclube.png) no-repeat;
height: 78px;
width: 61px;
padding: 15px 15px;
font-size: 18px;
line-height: 20px;
float: left;
position: absolute;
}
What I need is that when scrolling the page, the class called . logo1 is replaced by the class . logo2 and consequently the original image of the home page is replaced.