great salt lake
this topic is for people who want the about box to fade on there v2 profile and somehow this looks like far more code than is needed for that and also wouldn't 1 be normal so opaque shades would be like 0.9, 0.8 , 0.7 .etc or am i wrong in that?
Yes, opacity value ranges from 1.0 (solid) to 0 (full transparent)
Also, have you give the code a try?
Okay let me tell you guys something to clear up this:
YOU JUST NEED ONE OPACITY PROPERTY, that's it, you may ask why? Because Opacity has been an old standardized CSS
This code from first reply
.panel {
opacity: 0.5;
-moz-opacity: 0.5;
filter:alpha(opacity=50)
-khtml-opacity: 0.5;
}
.panel:hover{
opacity: 1;
-moz-opacity: 1;
filter:alpha(opacity=100)
-khtml-opacity: 1;
}
Is SHORTENED by removing old codes (ref:
http://caniuse.com/css-opacity , check at least 2 versions back), so it is turned into
.panel {
opacity:0.5;
}
.panel:hover {
opacity:1.0;
}
and to add SMOOTH FADE-IN / FADE-OUT effect instead of INSTANT BLINK, you add transition
.panel {
opacity:0.5;
-moz-transition: all 1s;
-o-transition: all 1s;
-webkit-transition: all 1s;
transition: all 1s;
}
.panel:hover {
opacity:1;
}