//.testover{ height: 300px; width: 300px; background-color: blue; transition: transform .2s; opacity:1; filter:alpha(opacity=100%); z-index: 13; } //.testover:hover { transform: scale(1.5); opacity:0.5; filter:alpha(opacity=50%); } //.static { position:absolute; background: white; //z-index: 10; } //.static:hover { opacity:0; //z-index: 11 ; } //p1{ transition: transform .2s; opacity:1; filter:alpha(opacity=100%); //z-index: 8; background-color: green; } //p1:hover { transform: scale(1.5); opacity:0.5; filter:alpha(opacity=50%); //z-index: +22; }