HTML-Popovers best-way / Positioning / Z-Index

一笑奈何 提交于 2019-12-12 01:29:42

问题


I have a HTML-View and need position: relative;for placing some elements.

Then, i have a popover.

PROBLEM: Since some elements are positioned relative, z-index is not working anymore, and i found no way that the popover can overlap the relative positioned elements.

QUESTION how to make popovers working properly and using underlaying elements, which are positioned relative?

i gave the popover position: absolute; and then a second wrapper inside, with position: relative; and set them to a higher z-index (1000, e.g.).

how to use z-index with relative positioning?

来源:https://stackoverflow.com/questions/57621289/html-popovers-best-way-positioning-z-index

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!