Enma Nii
Enma Nii

Reputation: 123

All necessary opacity settings for all browsers?

I often use opacity in my codes like this:

opacity:0;
filter: alpha(opacity=0);
-moz-opacity:0;
-khtml-opacity:0;

To be honest, I don't know if these four are enough to let the opacity work on every browser. Or is already enough to only use opacity:x;enter code here to let it work everywhere? Which are ones that I should definitely use?

Upvotes: 1

Views: 204

Answers (1)

Brahim Chougrani
Brahim Chougrani

Reputation: 61

Opacity is supported in all browsers even IE. If you want to check if your CSS is supported on any browser just visit CanIuse.

Upvotes: 2

Related Questions