Skip to main content

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. https://xender.vip/

https://19216811.cam/


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 27,623+ 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.