Z-index cannot be added to static position DOM element.

All the DOM element by default is static position. 

So if you have to add z-index, you can add relative posiiton to the DOM element.

相关文章: