Home › Forums › CSS › opacity: 0 with visibility: hidden › Reply To: opacity: 0 with visibility: hidden
May 20, 2014 at 1:14 pm
#170726
Participant
You mean, any reason to use both? I don’t see any, no.
Note that visibility is a completely different concept than opacity, even in legacy IE. If you ever need legacy IE compatibility again, I would suggest using MS’s opacity filter instead:
/* IE 8 */
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
/* IE 5-7 */
filter: alpha(opacity=0);