Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] CSS/Jquery FadeIn/Out Help! Reply To: [Solved] CSS/Jquery FadeIn/Out Help!

#184137
smarty.rockz
Participant

my code:
html5:
<div id="home-text"></div>

Css:

#home-text {
    margin: 0 auto;
    background: url(images/home-text6.png) no-repeat;
    background-size: contain;
    height: 150px;
    width: 700px;
    transition: background 0.7s ease-in-out;
    -webkit-transition:background 0.7s ease-in-out;
    -o-transtion:background 0.7s ease-in-out;
    -moz-transition:background 0.7s ease-in-out;
}

#home-text:hover{
    height: 150px;
    width: 700px;
    background: url(images/home-text6-hover1.png) no-repeat;
    cursor: pointer;
    background-size: contain;
    margin: 0 auto;
}