2011-06-20 3 views

答えて

3

ソースを見てください。彼らはシャドウを(垂直方向に)2%拡大しました。

#features ul li:hover div { 
    -webkit-transform: scaleY(1.02); 
} 

原点とcssの遷移は、以前の宣言で設定されました。

#features ul li div { /* fake blank div included at the start of each out; it holds the shadow */ 
    width: 225px; 
    height: 210px; 
    position: absolute; 
    top: 0; 
    background-repeat: no-repeat; 
    -webkit-transform-origin: 0 0; 
    -webkit-transition: -webkit-transform .4s ease; 
} 
+0

ありがとう、私は上記のdivに気付かなかった! – Bakaburg

関連する問題