Team:UCLA/Template/CSS test

From 2014.igem.org

(Difference between revisions)
Line 380: Line 380:
top: 0px;
top: 0px;
z-index:1;
z-index:1;
 +
}
 +
 +
<!--SIDE SPIDER ANIMATION-->
 +
#spider {
 +
    position:relative; //or whatever you need
 +
    display:block;
 +
    top:0px;
 +
    left:500px;
 +
}
 +
#spider img {
 +
    position:absolute;
 +
    opacity:0;
 +
}
 +
#spider #first {
 +
    opacity:1;
}
}

Revision as of 22:16, 15 September 2014