set Z index not working. button behind a container (HTML - CSS)

后端 未结 2 1600
别那么骄傲
别那么骄傲 2021-01-19 17:10

I using Metro css (windows 8 style) and have a problem. I have container with alerts (the blue in the picture) , and above , there is \'IT -CENTER \' , If I click there it o

相关标签:
2条回答
  • 2021-01-19 17:31
    overflow: hidden;
    

    to parent DIV worked for me

    0 讨论(0)
  • 2021-01-19 17:34
    1. You must set position:relative if you are setting z-index - it is very important thing and can lead to your bug

    2. If the 1 method doesn't help you should try to set z-indexes to the possible parents of that button (can say for sure I don't see your code)

    0 讨论(0)
提交回复
热议问题