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

Determine appropriate z-index value via JS #21

Closed
Schepp opened this issue Apr 25, 2013 · 1 comment
Closed

Determine appropriate z-index value via JS #21

Schepp opened this issue Apr 25, 2013 · 1 comment

Comments

@Schepp
Copy link
Contributor

Schepp commented Apr 25, 2013

A z-index value of 999 should cover a lot of cases but is still not the ideal value to apply. Z-Index should be determined via JS if available.

@drublic
Copy link
Owner

drublic commented Apr 25, 2013

What would be a good way to do it? This might mean that we would have to parse the whole CSS and find the highest z-index.
Also if this happens automatically you cannot layer anything above the actual modal. This might be needed on smaller screens when building an app-like website.
Apart from that it is possible to set the z-index in the SCSS file as a variable.

@drublic drublic closed this as completed Apr 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants