Rules CSS Code is:
img{
opacity:.50;
filter:alpha(opacity=50);
filter: "alpha(opacity=50)";
}

The CSS Code is:
img{
opacity:1;
filter:alpha(opacity=100);
filter: "alpha(opacity=100)";
}

The CSS Code is:
a:hover img{
opacity:.40;
filter:alpha(opacity=40);
filter: "alpha(opacity=40)";
}
The CSS Code is:
a img{
opacity:.40;
filter:alpha(opacity=40);
filter: "alpha(opacity=40)";
}
a:hover img{
opacity:1;
filter:alpha(opacity=100);
filter: "alpha(opacity=100)";
}
The CSS Code is:
opacity:.60;
filter:alpha(opacity=60);
filter: "alpha(opacity=60)";
}
Result:
Css property opacity 100
Css property opacity 60
Note: For browsers older versions still use the '-moz-opacity'.