滑鼠移入半透明圖片淡入淡出

img {
opacity:0.8;
filter:alpha(opacity=80);
-webkit-transition: opacity 0.3s ease-in-out;
-moz-transition: opacity 0.3s ease-in-out;
-o-transition: opacity 0.3s ease-in-out;
transition: opacity 0.3s ease-in-out;
}
img:hover {
opacity:1.0;
filter:alpha(opacity=100);

}