Skip to content
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

Closed
mattbishop opened this issue Aug 16, 2011 · 3 comments
Closed

opacity fadeIn ignores div's CSS opacity value #43

mattbishop opened this issue Aug 16, 2011 · 3 comments

Comments

@mattbishop
Copy link

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%.

@mattbishop
Copy link
Author

I think this is related to #14 and #36.

@rfvgyhn
Copy link

rfvgyhn commented Oct 26, 2011

I have the same use case and am seeing the same problem.

@fidoboy
Copy link

fidoboy commented Mar 24, 2012

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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants