Skip to main content
Ask A Question
You’re not receiving notifications from this thread.

How to use position fixed and a z index together

CSS • Asked by BernalTurado

i have a custom cursor on my page, the z index is 7.When I hover over the text on the footer, i want the text to overlap the white, I put z index 12 on the text to make it higher but it is not being respected. Something to do with the stacking context.. ? When i change the .footer--slideup position from fixed to absolute, i get the desired effect that i want with the cursor and the text, however this messes up my footer not sticking to the bottom of the page.

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 29,763+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.