-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
opacity fadeIn ignores div's CSS opacity value #43
Comments
I have the same use case and am seeing the same problem. |
Confirmed. Opacity is always set to 1 when using the fadeIn() function for example; even if i've changed that value to .6 on previous line using $('.mydiv').css('opacity',0.6); |
klarstil
added a commit
to klarstil/jQuery-Animate-Enhanced
that referenced
this issue
Apr 29, 2012
…alue of the selector instead of 1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using jquery to fade in a mask behind a modal div. Very common. The mask has an opacity of 0.85 set in the CSS, like this:
mask {
position:absolute;
left:0;
top:0;
z-index:9000;
opacity: 0.85;
background-color:white;
display:none;
}
When I fadeIn() with animate-enhanced, the mask div is 100% opaque instead of 85%.
The text was updated successfully, but these errors were encountered: