Template:CSS/style3

From 2014.igem.org

(Difference between revisions)
Line 312: Line 312:
.pic1:hover+.pic2{
.pic1:hover+.pic2{
 +
-webkit-transition:all 0.3s linear 0s;
 +
transform: translate(150px,0);
 +
    -webkit-transform: translate(150px,0); /** Safari & Chrome **/
 +
    -o-transform: translate(150px,0); /** Opera **/
 +
    -moz-transform: translate(150px,0); /** Firefox **/
 +
}
 +
.pic2:hover+.pic3{
 +
-webkit-transition:all 0.3s linear 0s;
 +
transform: translate(150px,0);
 +
    -webkit-transform: translate(150px,0); /** Safari & Chrome **/
 +
    -o-transform: translate(150px,0); /** Opera **/
 +
    -moz-transform: translate(150px,0); /** Firefox **/
 +
}
 +
.pic3:hover+.pic4{
 +
-webkit-transition:all 0.3s linear 0s;
 +
transform: translate(150px,0);
 +
    -webkit-transform: translate(150px,0); /** Safari & Chrome **/
 +
    -o-transform: translate(150px,0); /** Opera **/
 +
    -moz-transform: translate(150px,0); /** Firefox **/
 +
}
 +
.pic4:hover+.pic5{
-webkit-transition:all 0.3s linear 0s;
-webkit-transition:all 0.3s linear 0s;
transform: translate(150px,0);
transform: translate(150px,0);

Revision as of 12:43, 16 October 2014