z-index not working (AlpineJS & Tailwind) #3632
-
Hi, I've got some trouble where the section i wanted pop out behind another section always came out in front of it, i already use position class for it. But it always doesn't work. I've tried use like z-50 for the above section but its just the same.
i wanted x-show="details" section behind the above div section. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
anyone? |
Beta Was this translation helpful? Give feedback.
-
Hey! You're probably having an issue with stacking contexts. Are you able to share it in a GitHub repo, or CodeSandbox? You could also remove the alpine/blade stuff and put the markup in a Tailwind Play? It's a bit hard to troubleshoot with all the loops and logic without being able to see the UI. |
Beta Was this translation helpful? Give feedback.
Hey!
You're probably having an issue with stacking contexts. Are you able to share it in a GitHub repo, or CodeSandbox? You could also remove the alpine/blade stuff and put the markup in a Tailwind Play?
It's a bit hard to troubleshoot with all the loops and logic without being able to see the UI.